Old 20-02-2008, 21:45   #1 (permalink)
rustybones
corporate whore
 
rustybones's Avatar
 
Join Date: Oct 2007
Location: Umeå, Sweden
Posts: 250
wordpress menus

So I'm cracking the shits with Wordpress at the moment and was wondering if you fella's had any ideas about this particular problem.

What I've created is a clients site in Wordpress, the front page is static and the posts part of the site (the blog) is called "News and Events". I figured this would be a logical way to use the post feature since this will be the most updated part of the site. The rest of the site is just pages.

So on my "News and Events" page I have a list of news items and in the sidebar I want to display the sub pages for the section I'm in. But how the hell do I do this? I can do this fine on a "page" but not on the news and events section because this is the "post" page.

Crap that's about as clear as mud, here's a link to better illustrate:
Proteome Systems » About Us

Now see the sub menu here in the side bar? Click on "news and events" and the sub menu disappears, how to I keep it there?

**edit: please don't hassle the design, I didn't do it... they changed the brief for what ever reason and then wanted their branding company to design the "look and feel"
  Reply With Quote
Old 21-02-2008, 03:43   #2 (permalink)
Anxious
On the Naughty Step
 
Anxious's Avatar
 
Join Date: Jun 2007
Location: Glasgow
Posts: 1,750
It's too early in the morning for me - I don't quite understand what you mean, sorry!

What are you looking to show in the sidebar? When I click 'news and events', the menu remains on the right hand side.
  Reply With Quote
Old 21-02-2008, 05:59   #3 (permalink)
rustybones
corporate whore
 
rustybones's Avatar
 
Join Date: Oct 2007
Location: Umeå, Sweden
Posts: 250
Nah it's all good thanks mate, I got it sorted. It turned out since the news and events page is set as a static page for all the blog posts you still have to refer to it as "home", so for example this is what I did:

Code:
<?php if(is_home() || is_single() || is_archive() || is_category()): ?>

Even though the page is a sub page of About Us. Then I just forced the menu on the right to be the one for About Us by doing this:

Code:
<?php wswwpx_fold_page_list('sort_column=menu_order&title_li=<span class=submenu-title>' . __('About Us') . '</span>&child_of=5'); ?>

Thanks for looking anyway mate...it had me miffed for about 6 hours... bah I need sleep
  Reply With Quote
Old 21-02-2008, 06:55   #4 (permalink)
Anxious
On the Naughty Step
 
Anxious's Avatar
 
Join Date: Jun 2007
Location: Glasgow
Posts: 1,750
Glad you got it sorted!
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8