• Hi There,

    I would be grateful if some one out there could assist me . I am keen not to have people visiting my blog be able to download and or print my piccies. Is there a way of disabling the right click functions in WordPress

    Thanks

    heaps

    Regards

    Woolfy

Viewing 5 replies - 1 through 5 (of 5 total)
  • Yes, it’s very easy.
    Just change <body> to <body oncontextmenu=”return false;”> in your header.php to get it done.

    Regards,
    shylaz

    Personally, I find this quite annoying and is quite easy to work around. You might want to look at some of the plugins which offer watermarking or watermark the images first before uploading.

    Thread Starter woolfy

    (@woolfy)

    Thanks Guys,

    Much appreciated

    Woolfy

    Thread Starter woolfy

    (@woolfy)

    Its Woolfy back again … sorry I still couldn’t work out how to disble the right click function. <body> did not come up in my header.php. Where do I find all that info? I am obviously looking in the wrong place. Any further help will be gratefully recieved.

    Regards

    Woolfy

    In your wordpress site admin -> Design -> Theme Editor and click on header. You should see a <body> tag in there somewhere.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I disable the right Click Function’ is closed to new replies.