Title: Executes php but breaks html
Last modified: August 21, 2016

---

# Executes php but breaks html

 *  Resolved [Doug](https://wordpress.org/support/users/nicoblog/)
 * (@nicoblog)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/executes-php-but-breaks-html/)
 * Hi, i tried this plugin i have the following setup on a text widget
 * 3 divs with same class
    the class contains display: inline-block; vertical-align:
   middle;
 * the 3 divs display next to each other.
 * when i copy that html to you php widget
 * the 3 divs display one of top of the other.
 * I hope this can be fixed somehow.
 * Thanks
 * [https://wordpress.org/plugins/php-code-widget/](https://wordpress.org/plugins/php-code-widget/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [11 years, 11 months ago](https://wordpress.org/support/topic/executes-php-but-breaks-html/#post-4990389)
 * The widget doesn’t alter code, but it does respect the unfiltered_html setting.
   If you don’t have the rights on the site to post unfiltered_html (Editor or higher),
   then it will run the code through the normal html filters in WordPress.

Viewing 1 replies (of 1 total)

The topic ‘Executes php but breaks html’ is closed to new replies.

 * ![](https://ps.w.org/php-code-widget/assets/icon.svg?rev=992095)
 * [PHP Code Widget](https://wordpress.org/plugins/php-code-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-code-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-code-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/php-code-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-code-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-code-widget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/executes-php-but-breaks-html/#post-4990389)
 * Status: resolved