HomeBloggingHow To Disable Right Click On WordPress Without Plugin With Code

How To Disable Right Click On WordPress Without Plugin [2023] With Code

How To Disable Right Click On WordPress Without Plugin [2023]
How To Disable Right Click On WordPress Without Plugin [2023]

There are many steps to go through to write quality SEO-friendly content on the website. Such as keyword research, data collection from various media, image editing, etc. After working so hard to publish the content, when someone steals it with one click, all the hard work goes in vain. So in today’s article, we will show you How To Disable Right Click On WordPress Without Plugin in 2023.

Disabling right-click on a WordPress website is usually done in two ways, one is using a plugin and the other is using code. So in this article, both these methods will be shown.

This article will not be of much use to those who are using Blogger. So for them, there is another article on this topic on this site. To read the article: Click here

What are the benefits of wordpress right click disable?

If right-click is disabled on a WordPress website, no third party can copy and paste or download your site’s articles or images. By doing this, if you have written high-quality original content on the website, it will be protected from theft.

How do I turn off copy and paste in WordPress without plugins

How To Disable Right Click On WordPress Without Plugin

There are several ways to Disable Right Click on The Website Using Code. But the simplest method is shown below. Those who are having trouble understanding the information given below can follow the image given above if they want.

Copy This Code

<script type='text/javascript'> 
if (typeof document.onselectstart != "undefined") { 
document.onselectstart = new Function("return false"); 
} else { 
document.onmouseup = new Function("return false"); 
document.onmousedown = new Function("return false");
  1. First of all, you need to open the WordPress admin dashboard.
  2. Then click on the Appearance option in the site menu.
  3. Now click on Customize in the Appearance option.
  4. Then you will see the widgets option at the bottom click on it.
  5. Then click on the Right Sidebar option.
  6. Now you will see a plus sign above click on it.
  7. Then search by typing Custom HTML in the search option and click on it.
  8. Now copy the codes given above and paste them into the Custom HTML option and click on the publish button.

How to disable Copy Paste On a WordPress website?

How to Disable Right Click in WordPress Using Plugin

For those who find it troublesome to use the code or you don’t want to use this method, you can disable right click by installing a Plugin. The name of this plugin is WP Content Copy Protection & No Right Click. If you just install it, your WordPress website copy and paste will be disabled automatically.


Friends, this article has discussed very little on this topic. Here is the information on how you can use the code. On this site, we discuss in detail about the solutions to all the problems of WordPress. If you are interested then you can subscribe to this site to get new updates.

You may also be interested in reading

5/5 - (1 vote)
TAZUL ISLAMhttps://suspense24.com
Hi Guys I am Tajul Islam. I write articles on this site about Games Review, Sports, News, Technology, Blogging, windows, Small Business Ideas, Gadgets, Tricks, and much more.


Please enter your comment!
Please enter your name here

Most Popular