Title: Php and Wp page&#8230;
Last modified: August 18, 2016

---

# Php and Wp page…

 *  [Hoshi](https://wordpress.org/support/users/hoshi/)
 * (@hoshi)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/php-and-wp-page/)
 * I try to get a php script in my wp page,but… it dont’ work!! This ‘s possible
   or not?? Thanks!! 🙂

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

 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/php-and-wp-page/#post-237056)
 * No, it is not possible, if you are talking about putting it in your post. You
   can put PHP in your template files, but then it will run on EVERY page that uses
   that template file.
 * To “force” php to run, but not all php commands or script, you can use:
 * RunPHP [http://www.nosq.com/2004/10/runphp-wordpress-plugin/](http://www.nosq.com/2004/10/runphp-wordpress-plugin/)
   
   PHP-Exec [http://www.navidazimi.com/projects/wp-exec/](http://www.navidazimi.com/projects/wp-exec/)
 *  Thread Starter [Hoshi](https://wordpress.org/support/users/hoshi/)
 * (@hoshi)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/php-and-wp-page/#post-237076)
 * Thanks Lorelle!!!! 🙂
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/php-and-wp-page/#post-237108)
 * “You can put PHP in your template files, but then it will run on EVERY page that
   uses that template file.”
 * There are ways around that, Lorelle, such as for Pages:
 * `is_page('about')`

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

The topic ‘Php and Wp page…’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [20 years, 11 months ago](https://wordpress.org/support/topic/php-and-wp-page/#post-237108)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
