Title: How to insert php code in posts?
Last modified: August 18, 2016

---

# How to insert php code in posts?

 *  [Michiel](https://wordpress.org/support/users/michiel/)
 * (@michiel)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/how-to-insert-php-code-in-posts/)
 * Hi! I am running WP1.5 with Mudbomb WYSIWYG plugin. How do I include php code
   in my post? I tried through the HTML button but that did not work. Bdw: I am 
   using PHP Exec plugin to start PHP ([http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/](http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/))
   Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/how-to-insert-php-code-in-posts/#post-204585)
 * Try [RunPHP](http://www.nosq.com/2004/10/runphp-wordpress-plugin/) plugin as 
   wp-exec is fairly limited as to what it will allow and RunPHP is more “open”.
   But it also depends upon how you are using the PHP within the post. In general,
   you can’t without one or both of these plugins. You might want to consider going
   straight to the source (either by clicking the edit source or whatever it is 
   called in the Mudbomb plugin or by turning the plugin off for this usage.)
 *  [Valen Correa](https://wordpress.org/support/users/quitoxic/)
 * (@quitoxic)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/how-to-insert-php-code-in-posts/#post-204880)
 * I have try runphp and phpexec and i can’t insert php code in my posts, i don’t
   know where is my problem, i’m running wp 1.5 with WYSIWYG plugin also, what can
   i do?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to insert php code in posts?’ is closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [Valen Correa](https://wordpress.org/support/users/quitoxic/)
 * Last activity: [20 years, 8 months ago](https://wordpress.org/support/topic/how-to-insert-php-code-in-posts/#post-204880)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
