Support » Plugin: PHP Code Widget » Having a layout issue when I use it…

  • Resolved Jim R


    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.

    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42) Admin

    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.

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



    Forum Moderator

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

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Having a layout issue when I use it…’ is closed to new replies.