Execute PHP in WordPress post, page and Widget Sidebar
If you need to insert some PHP code into your wordpress blog, keep reading...
Executing PHP codes in post/page
- Download phpexec.txt
- Rename phpexec.txt to phpexec.php
- Upload to your /wp-content/plugins/ directory
- Activate the plug-in from WordPress administration menu
Anywhere in your post/pages where you want to execute a PHP Code, insert <phpcode> before your php codes and </phpcode> at the end.
Executing PHP codes in widget sidebar
This plug-in work like a normal text widget except that it allows execution of PHP Codes. You can create up to 9 instances of this widget.
Leave a Reply
You must be logged in to post a comment.