Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Different Sidebars for WordPress Re: Different Sidebars for WordPress

#53833
Chris Coyier
Keymaster

What you did there is create a special page template. If you want your about page to use that instead, you’ll have to select it from the Page Template dropdown when editing that page.

I see it doesn’t contain the get_sidebar(); function, so it will not have a sidebar if that’s what you intend.

At all that get_sidebar(); function does is go grab the sidebar.php file and drop it in right there. If you want to have a DIFFERENT sidebar, you could just do a manual include of a different file. Like this:

Code: