0

I can not right click on my site and I don't know why!

Is there any function to enable right click on the site?

1 Answer 1

1

This isn't something WordPress is doing but probably your theme. Perhaps it's an attempt to get people to not download your images or code, this is basically useless and doesn't prevent anything like that.

Your theme might be using something similar to this...

document.addEventListener('contextmenu', event => event.preventDefault());

Try searching your theme files for contextmenu and see what you can find.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.