WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. nicoblog
    Member
    Posted 1 month 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.

    Thanks

    https://wordpress.org/plugins/php-code-widget/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 1 month 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.