WordPress.org

Ready to get started?Download WordPress

Forums

I can get sidebar showing on all pages except the two auto-generated wp pages? (8 posts)

  1. tasetta
    Member
    Posted 5 months ago #

    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, http://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...

  2. alysonearl
    Member
    Posted 5 months ago #

    Can you tell me more about which templates you are using for each page? You can check at Dashboard/Pages/Quick Edit/Template

  3. tasetta
    Member
    Posted 5 months ago #

    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?

  4. tasetta
    Member
    Posted 5 months ago #

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

  5. alchymyth
    Forum Moderator
    Posted 5 months ago #

    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?

  6. tasetta
    Member
    Posted 5 months ago #

    I'm using the Simple Pages Sidebars plugin: http://wordpress.org/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?

  7. alchymyth
    Forum Moderator
    Posted 5 months ago #

    it might be better if you post in the plugin's support section http://wordpress.org/support/plugin/simple-page-sidebars

    no idea how woocommerce handles the page, but have a look at the 'Advanced Usage' in http://wordpress.org/plugins/simple-page-sidebars/

  8. tasetta
    Member
    Posted 5 months ago #

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

Reply

You must log in to post.

About this Topic

Tags

No tags yet.