Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4411

    Hi,

    I have a internal demo site set-up using Display. I have a question though.

    The blog page is using a page template called blog and all the other pages are set to default. When I add a widget to ‘blog sidebar’ it appears on all the default pages too? Is this normal, I only wanted a particular style of sidebar on the blog page? I guess it probably really simple so please be kind :-)

    Regards,

    Paul

    #46216

    So any ideas?

    #46217

    Hey,

    In sidebar.php change this:

    if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Blog')) : else :

    to this:

    if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Blog') && !is_page() ) : else :

    to exclude the Sidebar Blog widgets from Pages.

    James

    #46218

    Hi, this doesn’t work. With most recent version of Display.. sidebar still displays on every page in addition to “Displays Everywhere” widget.

    #46219

    Hi Shawnra,

    Exactly what are you trying to do? This is a year old thread so Display has undergone an update since then.

    Regards,

    Mya

    #46220

    Hello. For some reason when I set the a page’s template to “default”(i.e. an about page set to ‘default’ template)… it shows the sidebar along with the blog sidebar widget.

    I thought “blog sidebar” widget should only appear on a page that has a template assigned as “blog” but this isn’t the case because it appears on ALL my pages…

    #46221

    Hi,

    I just tested making a page Test1, applying the template ‘blog’ to Test1and adding a categories widget to the sidebar blog, and Test1 displayed the categories widget.

    I then changed the template for Test1 from blog to none, saved and the widget is not showing on the Test1 page.

    Please make sure you are using the latest version of the theme and the latest version of WordPress. Please deactivate all your plugins, empty your cache and everything should be working.

    Thanks,

    Nick

    #46222

    Thanks Nick. I got this to work.

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

The topic ‘Blog Sidebar Question’ is closed to new replies.