Remove top menu page navigation from an Artisteer WordPress theme
What is Artisteer?
Web Design Generator – Artisteer is a program that helps you create website themes and templates without having to know too much php or html. Here is a previous tutorial I posted about using Artisteer. You can watch a video on how to make a website template.
I like to design WordPress Themes with Artisteer and sometimes customizing the theme is a little bit different to other themes I have worked with. In this tutorial I am going to show you how to remove page links from the top navigation bar and leave only the ones you want. If you have a WordPress theme built using something other than Artisteer then please see this article Remove a page link from the top menu navigation in WordPress.
How to remove a page link from the top navigation menu in an Artisteer WordPress theme?
Most of the time, when removing a page link from the navigation bar you have to edit the header.php file. However with an Artisteer WordPress Theme you need to edit the functions.php file. That is the only major difference. You will find the same or similar code to edit in there. Changing the header.php file in an Artisteer theme will not effect the top nav menu.
1. Click on the Appearance menu. Then choose Editor.
2. On the far right there will be a menu of pages with .php on the end. Find the Theme functions page (functions.php) and click on it.
3. In the Functions.php file look for anything that says list_pages under the heading of /* horizontal menu */
4. See the screen shot below. Click on it to enlarge.
5. Where I have circled the code it had this there: wp_list_pages(‘title_li=&sort_column=menu_order’);
6. I replaced it with: wp_list_pages(‘exclude=3962,4061,4125,3899&title_li=&sort_column=menu_order’);
The numbers that I added in (3962,4061,4125,3899) are page numbers that I want to exclude from the menu. Please watch the video tutorial below to see more details on how to do this.


















