Expand the header menu for extra pages


Author Message
Carmel

Posted: 12/31/2009
Quote message 

I have a client who wants to expand the header menu by the number of pages he wants.

Is it possible to add an extra row of tabs?

As it is, adding the extra tabs he wants throws the template out.

Or
Is it possible to only include certain pages in the header menu and the rest in the sidebar menu?
The header menu is needed as there are several pages on the site without a sidebar, so navigation is needed in the header area.

Thanks in advance
 
Garry

Posted: 12/31/2009
Quote message 

If you add lot of pages they'll start displaying in second row in FF but IE doesn't display the second row in some cases.
 
Adeptris

Posted: 1/1/2010
Quote message 

Include Specific Pages Only, in the Header.php look for:

Look for <?php art_menu_items(); ?>

Try <?php wp_list_pages('include=7,13,26,35); ?>

I have not tested it so I am not sure if the art_menu CSS works with it 'out the box'

http://codex.wordpress.org/Template_Tags/wp_list_pages#Include_Pages_in_List
 
Adeptris

Posted: 1/1/2010
Quote message 

Carmel, Ignore the header.php and edit your functions.php, look for the function art_menu_items()

Find the line: wp_list_pages('title_li=');

Add in your page ID Include Filter:
wp_list_pages('include=7,13,26,35&'title_li=');

David
 
Carmel

Posted: 1/1/2010
Quote message 

Thanks David I'll try that

Cheers
Carmel :-)
 
Garry

Posted: 1/1/2010
Quote message 

To exclude some pages from main menu you can also use following plugin: http://wordpress.org/extend/plugins/exclude-pages/
 
Carmel

Posted: 1/4/2010
Quote message 

Hi Garry,

I do use the exclude pages plugin but this client wants to add more pages than the menu bar will handle.

Unfortunately, David's suggestion didn't work either, I know that works with the exclude option but that would be something that would need doing on a continuous basis.

So it's back to the drawing board......

Thanking you