Recently, one in all our readers requested us how they will stop text selection and copy/paste in WordPress?
Many publishers who need to cease individuals from stealing their content material might want to apply this. This mainly simply makes it a bit tougher for individuals to copy textual content out of your web site.
In this text, we’ll present you ways to simply stop textual content choice and copy/paste in WordPress.
Why Prevent Text Selection and Copy/Paste on Your WordPress Site?
Many bloggers discover that their content material will get stolen and used with out permission.
This can occur by means of automated content material scraping. It can even occur if somebody manually copies half or all your content material.
One manner to make this harder is to stop individuals from copying and pasting your textual content. You can do that by making it tougher for them to choose the textual content in your web site.
Remember, tech savvy customers can nonetheless view the supply code or use the Inspect software to copy something they need. These strategies can even not cease people who find themselves utilizing auto-blogging instruments to fetch the content material utilizing RSS.
Keeping this in thoughts, let’s check out a couple of methods to stop textual content choice and copying in WordPress.
Method #1: Preventing Text Selection Using CSS
This technique is easier, and you’ll simply want to add some customized CSS code to your WordPress theme. If you haven’t completed this earlier than, then check out our information on including customized CSS to your website earlier than you start.
First, you want to go to the Appearance » Customize web page in WordPress admin space to launch the theme customizer.
In theme customizer, you want to click on on the Custom CSS tab from the left column.
Now, you will note a field to add customized CSS to your WordPress theme. Simply copy and paste the next CSS code into that field.
This is how the code will look when added.
Now, go forward and attempt to choose a number of the textual content in your web page in the stay customizer. You will discover that you simply can not choose it.
Don’t neglect to click on the ‘Publish’ button on the high of the display screen to put your adjustments stay for everybody.
Method #2: Preventing Text Selection Using a Plugin
For this technique, we shall be utilizing a WordPress plugin that disables textual content choice and right-click. This would additionally shield pictures from being downloaded and reused.
First, you want to set up and activate the WP Content Copy Protection plugin. For extra particulars, see our step-by-step information on how to set up a WordPress plugin.
Upon activation, the plugin will work straight out of the field. Users will now not give you the option to copy and paste textual content out of your website. They additionally won’t be able to proper click on or print your content material.
If you need to change the plugin’s settings, it’s simple to achieve this. Simply go to the Copy Protection web page in your WordPress admin. Here, you possibly can select to allow or disable safety for particular sorts of content material.
Make certain you click on the Save Settings button after making any adjustments.
You can even change the message that can seem if somebody tries to print your content material. The message will show like this in the print preview and on the printout itself.
Is it a Good Idea to Prevent Text Selection in WordPress?
While many new web site homeowners need to cease individuals from copy/pasting content material from their website, these strategies do probably not stop content material theft.
Any barely tech savvy person can simply open your web site code supply to copy any content material that they need.
You may see : How to Easily Import and Export WordPress Users
Also not everybody copying your textual content shall be a content material thief. For occasion, some individuals might want to copy the title to share your publish on social media.
This is why it’s not finest follow to stop textual content choice. We suggest you solely use this technique should you really feel it’s really wanted in your website.
In most circumstances, it’s higher to search for an alternate manner to stop content material theft. If a website is re-publishing your content material with out permission, then you might discover out who’s internet hosting the web site and ship a DMCA takedown discover.
We hope this text helped you find out how to stop textual content choice and copy/paste in WordPress. You may also need to see our information on how to create a membership website with protected content material, and our comparability of the finest electronic mail advertising providers for subscriber solely content material.