Title: Enable PHP in Post &#8211; Multisite
Last modified: August 21, 2016

---

# Enable PHP in Post – Multisite

 *  [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * (@wasanajones)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/enable-php-in-post-multisite/)
 * is it just me…
 * I can’t find any plugins to enable PHP in posts for multisite subsites.
 * either the snippet isn’t saved or in the case of creating shortcodes, nothing
   happens on the post.
 * any suggestions on a plugin (or functions.php edit) to allow PHP execution in
   posts?
 * thanks

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

 *  [Pat Victor](https://wordpress.org/support/users/instovo/)
 * (@instovo)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/enable-php-in-post-multisite/#post-4022619)
 * I believe that PHP in pages/posts is by default not permitted in WordPress Multisite
   for security purposes. It would be crazy to allow users to insert PHP into posts…
   very bad things could happen.
 * I’m not 100% sure so it would be nice if someone else could confirm 🙂
 *  Thread Starter [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * (@wasanajones)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/enable-php-in-post-multisite/#post-4022625)
 * yes, you are correct about security issues. in fact it is also good policy to
   disable editing in wp-config… however, multisite does not always mean multi-User…
   in this instance a single user manages multiple domains/sites. some php enable
   plugins also allow giving particular users permissions. but I can’t find any 
   that work on multisite – they have issues with where/how the snippets are generated/
   stored
 * I don’t even really need a plugin if I can get some help on what code to put 
   in functions.php etc
 * regards
 *  [Pat Victor](https://wordpress.org/support/users/instovo/)
 * (@instovo)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/enable-php-in-post-multisite/#post-4022626)
 * Perhaps, but I’m not familiar with that. I’ll ask a few friends of mine who might
   be able to help out with this functionality.

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

The topic ‘Enable PHP in Post – Multisite’ is closed to new replies.

## Tags

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

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 3 replies
 * 2 participants
 * Last reply from: [Pat Victor](https://wordpress.org/support/users/instovo/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/enable-php-in-post-multisite/#post-4022626)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
