Can someone explain art_menu_items in functions.php


Author Message
Charles

Posted: 11/27/2008
Quote message 

Ok - I did find this plugin which can be used to exclude the static page. I still do not know why this functionality cannot be in the core WP code.
 
Charles

Posted: 11/27/2008
Quote message 

and here is the link :-/

http://wordpress.org/extend/plugins/exclude-pages/
 
Marc Smith

Posted: 11/28/2008
Quote message 

Ok, so lets go over this.

Artisteer does not control Wordpress. The code they write doesn't control Wordpress, they only provide the hooks into which Wordpress can operate.

The Artisteer template is a skin and nothing more. If you try to put any amount of PHP code into the template, you risk breaking Wordpress, especially when other features or widgets and plug ins are added.

The methods for removing the one HOME button that appears in the Wordpress theme created by Artisteer is well documented in the forums in several places.
 
Marc Smith

Posted: 11/29/2008
Quote message 

You can rename the 'home' page, or static front page using Wordpress' ability to do so. Just above the 'title' of the page is the ability to rename the permalink.

I would rename the Permalink and see if that meets your requirements. If not, there are plugins that control what can and can't be displayed in the navigation areas. You can also use conditional tags, such as 'is_home()' or '!is_home()' or 'is_front_page()' in the header or menu areas to turn off certain pages in the navigation windows.

I would still frown on changing any of the Artisteer function code to achieve anything other than removing the double home page link.