Greetings Everyone:
My blog is at http://www.tazsol.com/blog . When you go to the blog you see my sidebar. However, when you click the blog post title it takes you to an SEO optimized page (using the SEO plugin) How do I get my sidebar to appear on all those pages?
Im trying to add my privacy policy but have spent hours trying to figure this out.
Thanks for the help!!
For whatever reason, the default theme is coded in a way that turns off the sidebar on single post pages.
Open up the theme's index.php. Look at the bottom. See where it says get_sidebar()?
Now open up single.php. This file, not index.php, governs the appearance of single post pages. Copy the get_sidebar() line from index.php and paste it into the comparable part of single.php. (That is, right above the get_footer() thing, just like in index.php.)
You may just want to try using a different theme to see the difference. We had the same problem. After building and installing our own theme, we see the sidebar on every page.
cashbull
Member
Posted 1 year ago #
I am using the default theme... and when I add the code to the single.php file at the bottom, the sidebar shows up at the bottom. When I move the code to the top, the sidebar is where I want it, but then the content page drops way down. What can I do to fix this?
That's because the content area on single post pages has been increased to fill up the space previously occupied by the sidebar on the home page. Look at the difference between index.php and single.php
1. index.php --> <div id="content" class="narrowcolumn">
2. single.php --> <div id="content" class="widecolumn">
Take a look at the style sheet to see how these 2 DIVs are defined.