Archive for the ‘WordPress’ Category

Adding Sidebar Navigation to WordPress Posts

Tuesday, January 24th, 2012

If you haven’t noticed, the sidebar navigation appears on the “Home Page” and on “Pages”, but not on “Posts”.

If you’d like to add the “sidebar” navigation to all of your “Posts”, you just need to make 2 edits in the single.php (/wp-content/themes/default/) page.

First (and this is not even strictly necessary – it just makes the body text “left-justified” instead of “centered” as it is on the Home Page and Pages) change the first “div” from:

class="widecolumn"

to:

class="narrowcolumn"

Then, to add the sidebar navigation, invoke the following function as the 2nd to last line of code:

get_sidebar();

It should be just before:

get_footer();

Hope this helps.


Period Panties by Period Panteez Menstrual Underwear Menstruation PMS Panty