WooThemes Artificer Home Button

The Artificer theme from WooThemes by default adds a home icon to the main navigation menu. To remove the icon edit the file:
./includes/theme-functions.php
Find the new_nav_menu_items function and comment out the lines that add the home icon button as follows:

function new_nav_menu_items($items, $args) {
$homelink = '';
if( $args->theme_location == 'primary-menu' )
//$homelink = '<li><a href="' . home_url( '/' ) . '"><span>' . __('Home') . '</span></a></li>';
//$items = $homelink . $items;
return $items;
}

2 Responses to “WooThemes Artificer Home Button”

Leave a Reply to Zsolt

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>