18/01/2023
No Right Click on WordPress Images | Disable Image Right Click In WordPress Without Plugin
There are several ways to add a "no right click" feature to images on a WordPress website. One way is to use a plugin, such as "No Right Click Images Plugin" or "No Right Click for Images." These plugins allow you to enable or disable the feature for specific images or for all images on the website.
Another way is to add a small piece of JavaScript code to your WordPress theme's functions.php file or a site-specific plugin. This code will prevent the right-click context menu from appearing when users right-click on images on your website.
You can also use CSS to disable the right-click on images, by setting the pointer-events property to "none" for the image.
It's important to note that while these methods can deter casual copying of images, they can be bypassed by determined users and should not be relied on as a foolproof means of image protection.
functions.php code: https://docs.google.com/document/d/1sNor2JcoSCelcsd3I9hD884oRh4eRSYes5E5Gym96Qo/edit?usp=sharing
Create Child Theme In WordPress: https://www.youtube.com/watch?v=KAg-f9QVogs