my site is http://www.gametimeaudio.com.
Right now my sidebar only shows up on my home page. I would like it to show up on all of my pages. I have messed around with the code a little bit but with no luck. Help! Thanks!
my site is http://www.gametimeaudio.com.
Right now my sidebar only shows up on my home page. I would like it to show up on all of my pages. I have messed around with the code a little bit but with no luck. Help! Thanks!
Take the code that displays the sidebar on the front page, and add it to page.php, single.php and any other templates you are using.
If there is a lot of code, put it in a include file, and just include the code on the pages.
If your sidebar is in a theme file called "get_sidebar()", as it should be for ease-of-use, just add this tag to your single.php, index.php, category/search &c&c:
<?php get_sidebar(); ?>
If there isn't a sidebar.php file, make one in your favorite text editor and save it as sidebar.php.
N.B. If you name it anything else, sidebr.php, thesidebar.php, dancing_bears.php, &c, the WordPress tag get_sidebar won't work. You'll need to use an "include" function at that point.
Save yourself the hassle; name it sidebar.
Cheers!
so it looks like the <?php get_sidebar(); ?> is already in the pages i want it on, but it still doesnt show up
This topic has been closed to new replies.