Latest Tech and Tips

How to Prevent Text Selection and Copy/Paste in WordPress (Easy)


Recently, among our visitors asked us how they can prevent text selection and copy/paste in WordPress?

Many authors that desire to quit individuals from taking their material might desire to use this. This generally simply makes it a little bit harder for individuals to duplicate text from your internet site.

In this post, we’ll reveal you how to conveniently prevent text selection and copy/paste in WordPress.

Preventing text selection and copying & pasting in WordPress

Why Prevent Text Selection and Copy/Paste on Your WordPress Site?

Many blog owners locate that their material obtains taken and utilized without approval.

This can occur with automated material scuffing. It can additionally occur if a person by hand duplicates component or every one of your material.

One method to make this harder is to prevent individuals from duplicating and pasting your text. You can do this by making it harder for them to choose the text on your internet site.

Remember, technology wise customers can still watch the resource code or utilize the Inspect device to duplicate anything they desire. These strategies will certainly additionally not quit individuals that are making use of auto-blogging devices to bring the material making use of RSS.

Keeping this in mind, allow’s have a look at a couple of means to prevent text selection and duplicatingin WordPress

Method # 1: Preventing Text Selection Using CSS

This approach is less complex, and you’ll simply require to include some personalized CSS code to your WordPress motif. If you have not done this in the past, after that have a look at our overview on including personalized CSS to your website prior to you start.

First, you require to see the Appearance” Customize web page in WordPress admin location to launch the motif customizer.

Opening the theme customizer to add custom CSS

In motif customizer, you require to click the Custom CSS tab from the left column.

Now, you will certainly see a box to include personalized CSS to your WordPress motif. Simply duplicate and paste the complying with CSS code right into that box.

* {
- webkit-touch-callout: none;/ * iphone Safari */.
- webkit-user-select: none;/ * Safari */.
- khtml-user-select: none;/ * Konqueror HTML */.
- moz-user-select: none;/ * Old variations of Firefox */.
- ms-user-select: none;/ * Internet Explorer/Edge */.
user-select: none;/ * Non- prefixed variation, presently sustained by Chrome, Opera and Firefox */.

(Code source)

This is how the code will certainly look when included.

Adding the CSS code to prevent text selection and copy/paste

Now, go on and attempt to choose a few of the text on your web page in the online customizer. You will certainly locate that you can not choose it.

Don’ t fail to remember to click the ‘Publish’ switch on top of the display to place your modifications live for everybody.

Method # 2: Preventing Text Selection Using a Plugin

For this approach, we will certainly be making use of a WordPress plugin that disables text selection and right-click. This would certainly additionally safeguard photos from being downloaded and install and recycled.

First, you require to set up and turn on the WP Content Copy Protection plugin. For even more information, see our detailed overview on how to set up a WordPress plugin.

Upon activation, the plugin will certainly function right out of package. Users will certainly no more be able to duplicate and paste text from your website. They additionally will certainly not be able to appropriate click or publish your material.

If you desire to alter the plugin’s setups, it’s very easy to do so. Simply go to the Copy Protection web page in your WordPress admin. Here, you can select to allow or disable security for details sorts of material.

The settings for the WP Content Copy Protection & No Right Click plugin

Make certain you click the Save Settings switch after making any type of modifications.

You can additionally alter the message that will certainly show up if a person attempts to print your material. The message will certainly show such as this in the print sneak peek and on the hard copy itself.

The default message that users will see if they try to print a protected page/post

Is it a Good Idea to Prevent Text Selection in WordPress?

While numerous brand-new internet site proprietors desire to quit individuals from copy/pasting material from their website, these strategies do not actually prevent material burglary.

Any somewhat technology wise individual can conveniently open your internet site code resource to duplicate any type of material that they desire.

Also not everybody duplicating your text will certainly be a material burglar. For circumstances, some individuals might desire to duplicate the title to share your message on social media sites.

This is why it’s not ideal technique to prevent text selection. We suggest you just utilize this approach if you feel it’s genuinely required for your website.

In most instances, it’s much better to try to find a different method to prevent material burglary. If a website is re-publishing your material without approval, after that you might figure out that is organizing the internet site and send out a DMCA takedown notification.

We wish this post aided you find out how to prevent text selection and copy/pastein WordPress You may additionally desire to see our overview on how to produce a subscription website with safeguarded material, and our contrast of the very best e-mail advertising solutions for customer just material.

If you liked this post, after that please subscribe to our YouTube Channel for WordPress video clip tutorials. You can additionally locate us on Twitter and Facebook.