The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

PHP Code Widget
[resolved] Executes php but breaks html (2 posts)

  1. Doug
    Posted 2 years ago #

    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.



  2. Samuel Wood (Otto)
    WordPress.org Tech Dude
    Plugin Author

    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.