Adding A Sidebar To A Page Template
-
Hello,
My theme allows me to add widgets to the following sidebars:
Blog
Portfolio
Page
FooterBut for some reason I am having trouble placing my “Portfolio” side bar in any of my page templates.
For the “Page” sidebar the code is:
<div class="one-fourth last"> <?php get_template_part( 'page', 'sidebar' ); ?> </div>
For the “Blog” sidebar the code is:
<div class="one-fourth last"> <?php get_template_part( 'blog', 'sidebar' ); ?> </div>
So one would assume that for the “Portfolio” sidebar the code would be:
<div class="one-fourth last"> <?php get_template_part( 'portfolio', 'sidebar' ); ?> </div>
But it isn’t. Does anyone know the code to pull the information for the “Portfolio” sidebar? When I look at the actual portfolio template page, it uses the code for the “Blog” sidebar.
Thanks in advance for any help!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Adding A Sidebar To A Page Template’ is closed to new replies.