How to add PHP in WordPress | WordPress add insert PHP plugin

Welcome, all people today we are learning how to add PHP to WordPress so keep silent and read this blog. Here are two examples to look at so see the first example.

Example 1:-

first, open your WordPress dashboard now click the new plugin and search Insert add PHP Snippet plugin, and then now install this plugin and activate this. now we are dashboard sidebar add new menu XYZ PHP Code. then click here now see the open dropdown menu open click PHPCode Snippet link. then open a new page and click add new PHP code snippet button. now the first tracking name applies ( Tittle ).second add PHP code and you see the Update button press here. copy the short code and open a new post and search short code then copy code past here. now click publish button and are see PHP id totally work.

click add new plugin link


Search Insert PHP Code Snippet Plugin and install this plugin


now install plugin activate and you are see add new menu add side bar XYZ PHP Code.


Now if you move the cursor over the New Side menu XYZ PHP code, the New Dropdown menu will open. Click on PHP code snippet.


Click the Add New PHP Code Snippet button


now add tracking name mean add title and add new PHP Code. Then after click Update Button.


copy Short Code here.


open a new post and search short code and past copy code here.


write some word and click submit button. now you are see PHP work


output:-


example two explain the next blog

Leave a Comment

Your email address will not be published. Required fields are marked *