• I created my own child theme, and wished to have unique sidebars to correspond to each page.

    I can get the sidebars to show on all my pages except for the blog links for the Blog page and the shopping cart sidebar for the Books(Products) page.

    So what gives? I’ve checked and double checked, all the pages are set up the same way. The two missing sidebars are currently both showing on the home page, so it works there.

    For example, https://www.iconoclasticpress.com/blog/

    Does this have to do with the fact that the content for these two pages are auto-generated by wordpress? If so then how, and how do I deal with that?

    Hoping someone knows…

Viewing 7 replies - 1 through 7 (of 7 total)
  • Can you tell me more about which templates you are using for each page? You can check at Dashboard/Pages/Quick Edit/Template

    Thread Starter tasetta

    (@tasetta)

    Ok, for instance,

    The sidebar shows ok on the Tango page:

    parent = main page(no parent)
    template = Front Page Template
    Sidebar = Lessons

    Whereas the sidebar does NOT show on Blog page:

    parent = main page(no parent)
    template = Front Page Template
    Sidebar = Blog Related

    Is this what you’re asking me for?

    Thread Starter tasetta

    (@tasetta)

    The About (aka Home) page (which is currently showing the missing sidebars)
    Parent = (no parent)
    Template = Front Page Template
    Sidebar = Home

    have unique sidebars to correspond to each page.

    what code (or plugin) are you using for that?

    if the ‘blog’ page is set under dashboard – settings – reading: posts page then it will use index.php or home.php and can be checked with the conditional tag ‘is_home()

    are you using a plugin for the Books(Products) page?

    Thread Starter tasetta

    (@tasetta)

    I’m using the Simple Pages Sidebars plugin: https://www.ads-software.com/plugins/simple-page-sidebars/

    The books page is actually the woocommerce’s Product page (renamed to Books).

    The Blog page — yes, the posts page under settings/reading is set to blog. How do I check this with the conditional tag?

    it might be better if you post in the plugin’s support section https://www.ads-software.com/support/plugin/simple-page-sidebars

    no idea how woocommerce handles the page, but have a look at the ‘Advanced Usage’ in https://www.ads-software.com/plugins/simple-page-sidebars/

    Thread Starter tasetta

    (@tasetta)

    Ok I switched from simple-page-sidebars plugin to custom-sidebars and it seems to be working out a bit better.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘I can get sidebar showing on all pages except the two auto-generated wp pages?’ is closed to new replies.