Change content of side bar on different pages

  • Trudi


    Hi there,

    I have a right column on all the pages of my website with a few widgets in it.

    I’m wondering if it’s possible to change the content of the column on different pages so that, say, the Home Page has the widgets but on my About Me page, I can put a text box with different information in the column which can only be seen on that page.

    Can anyone help me?

    Thanks in advance,






    Thanks Prasanna! That really helped!

    Could I bother you with another question?

    I’ve managed to put certain widgets on certain pages perfectly well but I’m having trouble with putting a particular widget on my main blog page as well as on single post pages. I seem to be able to do either or. When I try to put is_home() and is_single() in the logic box for the one widget, it won’t work. I don’t have comments on my blog so I can’t use that tag and I tried the pings open tag but it only worked for a couple of the single post pages and not the blog main page.

    Do you have any ideas of how I can make it work?

    Thanks a lot,





    if ( is_home() || is_single() )

    The || represents “or” in coding language 😉



    That worked a treat!

    Thanks Josh!



    Marking thread as resolved. You can do this yourself as well.



    Thanks Prasanna!

Viewing 7 posts - 1 through 7 (of 7 total)

  • You must be logged in to reply to this topic.