• In this theme, it offers you (in their settings) to “Show Categories”. If you click yes, it inserts a button for you in the nav bar for the blog.

    You can see here, https://www.philackland.com/wp, that it has provided a link on “Phil’s Blog”.

    My questions is… how do I move this button in the nav bar to appear before or after the Contact button?

    Thanks ??

Viewing 1 replies (of 1 total)
  • I think this will do what you want, but BACK UP functions.php first!

    Edit functions.php. Move lines 172-177 – these lines:

    $ctitle = ( empty($settings['cat_title']) ) ? $more_cats = __('Categories', 'chameleon') : $settings['cat_title'];
    	if ( $settings['cat_menu'] ) {
            $menu .= '<li><a href="#">' . $ctitle . '</a><ul>';
    	    $menu .= wp_list_categories('title_li=&echo=0&depth=1&use_desc_for_title=0&exclude=' . $settings['categories']);
    	    $menu .= '</ul></li>';
    	}

    To just after line 189 – this line:

    $menu .= apply_filters('chameleon_pages_menu', wp_list_pages('title_li=&depth=2&echo=0'));
Viewing 1 replies (of 1 total)
  • The topic ‘Chameleon Theme – how to move the Blog Button on the nav bar’ is closed to new replies.