If you need to insert some PHP code into your wordpress blog, keep reading...

Executing PHP codes in post/page

  1. Download phpexec.txt
  2. Rename phpexec.txt to phpexec.php
  3. Upload to your /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 Code, insert <phpcode> before your php codes and </phpcode> at the end.

 

Executing PHP codes in widget sidebar 

 

  • Download execphp.txt
  • Rename execphp.txt to execphp.php
  • Upload to your /wp-content/plugins/ directory
  • Activate the plug-in from WordPress administration menu 
  •  

     

    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.

    Share

    By moschos

    This is me :)

    Leave a Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.