Forums

creating different sidebar files (2 posts)

  1. Steve Rodgers
    Member
    Posted 3 years ago #

    Hi,

    I'm, trying to figure out how I can create an alternate to sidebar.php

    What I would like to do is be able to call different sidebars for different page trees withing my site, but only show widgets specific to those page families.

    I understand how to create a new dynamic sidebar, however the function: get_sidebar() will bring up all the dynamic sidebars at once.

    Is there a way to have a page template call a different sidebar other than sidebar.php and include only dynamic sidebars specific to the pages it's called on?

    Thanks
    -Steve

  2. Roger Theriault
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags