[Resolved] Different sidebars for category archives and blog posts

Home Forums Support [Resolved] Different sidebars for category archives and blog posts

Home Forums Support Different sidebars for category archives and blog posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #506287
    Suggie

    Hi guys.

    I’d like to have a different right sidebar show up depending on which category archive page is showing, as well as depending on which blog post is showing. For example,

    – Current sidebar is a shortcode of a custom Elementor sidebar
    – Sidebar currently includes “Latest Posts” section that shows posts from all categories
    – I’d like to have a Travel sidebar that shows “Latest Travel Posts” in the Travel category archive page as well as on any post that is labeled as Travel category. And the same for the Eat category archive/posts related to Eat category.

    I saw this info on using a sidebar filter and was wondering if my issue could be handled similarly? Could I use different shortcodes depending on category? https://generatepress.com/forums/topic/different-sidebar-layout-on-different-category-archives/

    Thanks!

    #506445
    Leo
    Staff
    Customer Support

    Hi there,

    You would need a plugin like this: https://en-ca.wordpress.org/plugins/content-aware-sidebars/

    #507329
    Suggie

    Thank you, Leo. I’ll give it a go.

    #507420
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.