Title: php block codes within post?
Last modified: August 18, 2016

---

# php block codes within post?

 *  [firefox](https://wordpress.org/support/users/firefox/)
 * (@firefox)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/php-block-codes-within-post/)
 * Is there a way to add a couple of <?php ?> block codes within a post?
 * the [PHP exec](http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/)
   plugin is not designed for that.
 * thanks..

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

 *  Thread Starter [firefox](https://wordpress.org/support/users/firefox/)
 * (@firefox)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/php-block-codes-within-post/#post-288948)
 * oh nevermind.. it actually worked!
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/php-block-codes-within-post/#post-288949)
 * “_it actually worked!_“
 * Well, that is what it’s intended for… 😉
 * For future reference, there are several plugins currently which let you run PHP
   code from within a post’s content (PHP Exec, RunPHP, CG-QuickPHP and wp-exec):
 * [http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/](http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/)
   
   [http://www.nosq.com/2004/10/runphp-wordpress-plugin](http://www.nosq.com/2004/10/runphp-wordpress-plugin)
   [http://www.chait.net/index.php?p=310](http://www.chait.net/index.php?p=310) 
   [http://www.navidazimi.com/projects/wp-exec/](http://www.navidazimi.com/projects/wp-exec/)

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

The topic ‘php block codes within post?’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [tags](https://wordpress.org/support/topic-tag/tags/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/php-block-codes-within-post/#post-288949)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
