Monday, November 30, 2020
Home Blogging How to Prevent Text Selection and Copy/Paste in WordPress (Easy)

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

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.

Preventing text selection and copying & pasting 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.

Opening the theme customizer to add custom CSS

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.

  -webkit-touch-callout: none; /* iOS 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 model, presently supported by Chrome, Opera and Firefox */

(Code supply)

This is how the code will look when added.

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

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.

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

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.

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 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.



Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

How to Signup for Godaddy Affiliate Program & Start Making Money

GoDaddy is likely one of the well-liked model names out there of area and web-hosting. They are well-liked for a numerous cause, and so they...

How To Start Selling Website on Flippa: A Beginner’s Guide To Success

If you may have been working on-line for lengthy and into Website flipping, Flippa is one identify that you need to have heard of. Flippa is a...

How to Fix Your Connection is Not Private Error (Site Owners Guide)

Are you seeing ‘Your connection is not private’ error in your WordPress web site? This is the error message you’ll see on Google Chrome. The...

How to Fix the WordPress White Page of Death (Step by Step)

The WordPress white page of dying is one of the most widespread WordPress errors. It can also be one of the most irritating ones as...

Recent Comments