Title: Is it safe  to put HTML, PHP code in wordpress POST?
Last modified: August 19, 2016

---

# Is it safe to put HTML, PHP code in wordpress POST?

 *  Resolved [sandeep4688](https://wordpress.org/support/users/sandeep4688/)
 * (@sandeep4688)
 * [16 years ago](https://wordpress.org/support/topic/is-it-safe-to-put-html-php-code-in-wordpress-post/)
 * I’ want to put some HTML AND PHP codes into self hosted wordpress. Is it safe
   to put the code ? or I need any plug-in or widget to avoid any hazard.
 * Please make me clear.
    Thanks,

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years ago](https://wordpress.org/support/topic/is-it-safe-to-put-html-php-code-in-wordpress-post/#post-1474235)
 * It’s pretty safe, but you need [http://wordpress.org/extend/plugins/exec-php/](http://wordpress.org/extend/plugins/exec-php/)
   or something like it to execute PHP code that is in a post.
 *  Thread Starter [sandeep4688](https://wordpress.org/support/users/sandeep4688/)
 * (@sandeep4688)
 * [16 years ago](https://wordpress.org/support/topic/is-it-safe-to-put-html-php-code-in-wordpress-post/#post-1474497)
 * Thanks MichaelH

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

The topic ‘Is it safe to put HTML, PHP code in wordpress POST?’ is closed to new
replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [sandeep4688](https://wordpress.org/support/users/sandeep4688/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/is-it-safe-to-put-html-php-code-in-wordpress-post/#post-1474497)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
