• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Dynamic sidebar based on categories or page

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Dynamic sidebar based on categories or page

This topic is: not resolved

Tagged: custom sidebar, Genesis Simple Menus, Genesis Simple Sidebars

  • This topic has 5 replies, 4 voices, and was last updated 2 years, 10 months ago by Anita.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • April 28, 2020 at 11:27 pm #498268
    cserbackpacker
    Member

    Hi everyone.
    I want to have a dynamic sidebar that would display different posts based on the page selected.

    Here is the website I am referring to : https://visaguide.world/canada-visa/

    I believe the dynamic sidebar has menu items which are displayed depending on which page you select, and the menu on the header changes as well. They are not using Genesis, but I am wondering if I can do the same using Genesis. I am using Wellness Pro.

    I have tried implementing some tutorials but it's not working out so far. Could anyone give some insights? Or point me to a video or article?

    April 28, 2020 at 11:51 pm #498269
    Brad Dalton
    Participant

    You can use the Genesis Simple Sidebars plugin and this one as well https://en-au.wordpress.org/plugins/genesis-simple-menus/


    Tutorials for StudioPress Themes.

    April 29, 2020 at 12:57 am #498270
    cserbackpacker
    Member

    Hi Brad. Thanks for such a quick reply. Any chance this can be done without using a plugin? Or is it too complex?

    April 29, 2020 at 1:16 am #498271
    Brad Dalton
    Participant

    Sure can.


    Tutorials for StudioPress Themes.

    April 29, 2020 at 1:55 am #498272
    Mark
    Member

    If you want to assign custom sidebars to archive pages or replace multiple sidebars per page, this plugin likely won’t be the best solution. However it’s flexible enough to handle a wide range of page-based use cases. It can even be configured to work with Custom Post Types by adding a couple lines of code:

    function myprefix_init() {
        add_post_type_support( '{{post_type}}', 'simple-page-sidebars' );
    }
    add_action( 'init', 'myprefix_init' );

    Source

    April 29, 2020 at 10:20 am #498284
    Anita
    Keymaster

    If you're not creating a theme but want to enhance a project, I use Lightweight Sidebar Manager - https://wordpress.org/plugins/sidebar-manager/. It will even create sidebars for the footer area. I really like it.


    Love coffee, chocolate and my Bella!

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble