Solution- Onclick Function Not Working WordPress Post

How to insert onclick function in wordpress posts

onclick function is a javascript function. It is used to execute some code or some function on onclick function run. WordPress posts and pages are designed only for insert text.This is the reason when onclick function is added to button or lable. It is trimmed by wordpress automaticly.

Here i show simple technique to insert onclick function in wordpress posts and pages. To insert onclick function in wordpress posts and pages follow the steps.

Place this code in your plugin which you want to use insert php in posts. With “echo” the script and code you can enable to use onclick function under posts and pages.If you have question about the post and question bellow.

Manu Mahajan Born 26 Dec 1980 ,Is a founder of Tectrick and MM Toy World.
www.tectrick.org is a free digital helping guide on many usable topics to the readers in various method such as Youtube videos , Articles and social media conversation
MM Toy World is manufacturer , wholesaler and online retailer of soft toys, personalized gifts ,toys corporate gifts .