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 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");
}
</script>
- First of all, you need to open the WordPress admin dashboard.
- Then click on the Appearance option in the site menu.
- Now click on Customize in the Appearance option.
- Then you will see the widgets option at the bottom click on it.
- Then click on the Right Sidebar option.
- Now you will see a plus sign above click on it.
- Then search by typing Custom HTML in the search option and click on it.
- Now copy the codes given above and paste them into the Custom HTML option and click on the publish button.
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.
Conclusion
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