Carmel
|
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
|
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
|
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
|
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
|
Thanks David I'll try that
Cheers
Carmel
|
|
Garry
|
To exclude some pages from main menu you can also use following plugin: http://wordpress.org/extend/plugins/exclude-pages/
|
|
Carmel
|
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
|
|