WordPress.org

Ready to get started?Download WordPress

Forums

How do I disable the right Click Function (6 posts)

  1. Woolfy
    Member
    Posted 6 years ago #

    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

  2. shylaz
    Member
    Posted 6 years ago #

    Yes, it's very easy.
    Just change <body> to <body oncontextmenu="return false;"> in your header.php to get it done.

    Regards,
    shylaz

  3. Scott H
    Member
    Posted 6 years ago #

    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.

  4. Woolfy
    Member
    Posted 6 years ago #

    Thanks Guys,

    Much appreciated

    Woolfy

  5. Woolfy
    Member
    Posted 6 years ago #

    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

  6. Scott H
    Member
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic