WordPress.org

Ready to get started?Download WordPress

Forums

PHP Code Widget
[resolved] Having a layout issue when I use it... (5 posts)

  1. Jim R
    Member
    Posted 1 year ago #

    I've trouble shot this enough to know it's an issue with your PHP Widget. I've used it for awhile and haven't had this issue.

    http://hoosierhoopsreport.com

    I have two instances of it on my homepage. One if the tabbed feature where it says Basketblog, Game Center, Colleges. That looks good, but the issue comes with the widget area next to it. It bumped it down and would basically ignore the float set up. Until I added to my own code an extra /div.

    I thought it was a theme issue until I used another instance of your PHP Widget in the footer. I had more tabbed content in there (and it might be there again by the time you look), but right now I just have "Hello" in there. It ignores the float and the widgets in the other two widgeted areas in the footer run down the page instead of across.

    I've tried placing an extra /div in a few places, to no avail, both in your files and my files.

    EDIT: Ok...now that I use a Title for the widget, the layout works well. Can you update this so it will allow for an optional Title?

    http://wordpress.org/extend/plugins/php-code-widget/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 1 year ago #

    It is not an issue with the widget. The widget is basically an exact copy of the built in Text widget, except that it allows PHP code in it too. Other than that, no differences.

  3. Jim R
    Member
    Posted 1 year ago #

    Something is amiss then, because not having a title for the widget affects the layout in an adverse way.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    That sounds like a theme issue - not a plugin one.

  5. Jim R
    Member
    Posted 1 year ago #

    Thought so initially, but it's only affected when I use the PHP Widget. Otherwise it works just fine.

    UPDATE: I just tested the regular Text widget, same issue. Without a title, it breaks the layout. With a layout, it works just fine.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.