Exclude Menu items?


Author Message
Brianosaur

Posted: 12/2/2008
Quote message 

Hi folks:

Does anyone know how to set up a list of menu items to exclude from the menu? For instance, I have a Site Map on my site that I would like not appear in the menu. It is a main level page on the site, so it is showing up. I traditionally use the wp_list_pages code which allows parameters to be set.

<?php wp_list_pages('title_li=&depth=1&sort_column=menu_order&exclude=114,117,125'); ?>


but artisteer is using the menu code:

<?php art_menu_items(false); ?>


art_menu_items

Are there parameters that can be set up for this code?
 
Marc Smith

Posted: 12/3/2008
Quote message 

If you use any plug in the removes a page from the menu or navigation, it should work fine with a theme created by Artisteer.

I've used such plugins on my sites and they've worked.
 
Brianosaur

Posted: 12/3/2008
Quote message 

Thanks Marc, I will give it a try. It seems that there are a couple out there, but the ones I have seen required installing that line of code. It would be better to be able to do it at the plugin level, so I hope to find something.
 
Dan

Posted: 1/10/2009
Quote message 

This is a bit of a work around but you could try it.

Set Artisteer to use only one menu level.

Then in wordpress make any pages you don't want to show in the main menu a sub item of some other page.


 
Roger

Posted: 3/11/2009
Quote message 

This is actually fairly simple

In the Artisteer theme functions.php file find the line in the art_menu_items function that starts with wp_list_pages (should be around line 173)

Add any of the normal wp_list_pages parameters such as include,exclude, to the 'title_li='.

example of the modified line

	wp_list_pages('title_li=&sort_column=post_date&show_date=created&exclude=1,3,7,6'); 


All should work as expected.

Rog
 
Igor

Posted: 6/11/2009
Quote message 

Roger, thank you !!! It works.
 
brettbum

Posted: 7/22/2009
Quote message 

The WP Pagemash plugin is one of the best ways to go in both managing what shows up in a menu but also how the pages are structured in your menu system, using a nice ajax drag and drop interface within wp-admin :)

Your Customers will love the hell out of you for this one!
 
Kevin

Posted: 9/18/2009
Quote message 

There is also a plugin called Exclude Pages that works pretty well

http://wordpress.org/extend/plugins/exclude-page/
 
Walt

Posted: 9/29/2009
Quote message 

I'm a new (to Artisteer, not Wordpress), and I was wondering the same thing.

I love the look and the feel of the Artisteer menu bar, and I wish it was the default look and feel for WP in general. I've visited too many WP sites that are almost un-navigable (I made that word up I think :)).

I know it's easy to edit the Artisteer functions file (I've already had to play around with it a bit), but it's not a very user-friendly chore for most. And, I'm not sure about the plugins mentioned since you may want important pages to show up in the menu bar, and less important pages to show up elsewhere (sidebar, footer, etc)

It seems to me like Artisteer is trying to implement CMS logic at the front end without implementing CMS-like control in the distributed model. It would be (verrrry) nice if Artisteer included a PageMash (which I do like) type of admin panel built into the distributed theme.

I dunno, maybe some Artisteer-specific plugins are in order. Do such beasts exist?