Title: Adding php code
Last modified: August 19, 2016

---

# Adding php code

 *  [booboobear](https://wordpress.org/support/users/booboobear/)
 * (@booboobear)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/adding-php-code/)
 * I have a script I’d like to add to a post. How do I do this?
    It’s a countdown
   script if that’s of consquence.
 * <? php nameofscript (); ?>
 * ******************************************************************
    For example:
 * Blah, blah,blah
 * — Script here —

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

 *  Thread Starter [booboobear](https://wordpress.org/support/users/booboobear/)
 * (@booboobear)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/adding-php-code/#post-898137)
 * This is my own script btw to be included in a post. Not a widget for the sidebar.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/adding-php-code/#post-898142)
 * so you want to [run php inside a post](http://wordpress.org/search/run+php+inside+a+post?forums=1).
 * search is your friend. second link.
 *  Thread Starter [booboobear](https://wordpress.org/support/users/booboobear/)
 * (@booboobear)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/adding-php-code/#post-898152)
 * This one seems to be better
 * [http://wordpress.org/extend/plugins/exec-php/](http://wordpress.org/extend/plugins/exec-php/)

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

The topic ‘Adding php code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [booboobear](https://wordpress.org/support/users/booboobear/)
 * Last activity: [17 years, 7 months ago](https://wordpress.org/support/topic/adding-php-code/#post-898152)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
