jseguin
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Showing Pages in Header or Sidebar, Not Bothsorry — that last post had something bold in it — but I think you’ll get the idea anyways.
Enjoy!
-John
Forum: Themes and Templates
In reply to: Showing Pages in Header or Sidebar, Not BothHi drowatzky. I’ve been banging my head against the wall with this one for a few hours now myself!
*AND* it turns out that we are using the same theme!
Anyways, I finally found the answer in the theme’s README file. (Of course).
To save you the trouble — here are the instructions by the author:
———-
Additional Pages
You can set up as many pages as you like. All pages will be automatically added to the navigation. However if you’ve set up all of the above pages, additional pages will probably break the navigation unless you don’t modify the CSS to make the buttons smaller.
Secondary Navigation
In case you’ve got more pages than fit into the main navigation Blix offers a secondary navigation in the sidebar:
Make backup copies of header.php and sidebar.php
Open header.php in your text editor of choice
Look for the following code snippet
else {
(is_page($page_id))?$selected = ‘ class=”selected”‘:$selected=”;
echo ”- $page_title
\n”;
}
and remove it
Save the modified file
Open sidebar.php
Change line 10 from * to */
Remove line 20 (<?php */ ?>)
Save the modified file——
what he DOESN’T tell you — and if you are new to wordpress like I was — is that you ALSO must delete your cache files or you won’t see the results for quite a while!
You can find this on your dashboard under OPTIONS –> WP-cache. Just click “delete cache” on this page and then reload your home page. Voila! ??
Enjoy