Administrators Leon Posted August 16, 2012 Administrators Share Posted August 16, 2012 If you are still struggling on how to insert PHP Codes inside particular blog post, page or a widget sidebar for execution - then the following tutorial is for you. 1. Download: phpexec.txt.zip 2. Unzip and rename phpexec.txt to phpexec.php from here below... 3. Upload to /wp-content/plugins/ directory 4. Activate the plug-in from Wordpress administration menu Usage Anywhere in your post/pages where you want to execute a PHP Codes, insert before your php codes and your php codes. <phpcode> <?php echo "Current date and time: "; echo date("l dS of F Y h:i:s A"); ?> </phpcode> Security If you are running a blog with multiple users, you need to determine who can run this plug-in. Alter the settings in your Administration Menu. Options -> PHPExec Executing PHP codes in WordPress widget sidebar Installation Download php-code-widget.2.1.zip from below. Rename execphp.txt to execphp.php Upload to /wp-content/plugins/ directory Activate the plug-in from WordPress administration menu WIDGET: php-code-widget.2.1 Usage 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now