ThemeShaper Forums » Thematic

[closed]

Home tab disapeared with the update

(4 posts)
  • Started 3 years ago by jei
  • Latest reply from lewism
  • This topic is not resolved
  1. jei
    Member

    Upadeted my Thematic to 0.9.7.6 and the Home tab dissapeared from the navigation. I'm using the exact code that was commented out on the functions.php

    function childtheme_menu_args($args) {
    $args = array(
    'show_home' => 'Home',
    'sort_column' => 'menu_order',
    'menu_class' => 'menu',
    'echo' => true
    );
    return $args;
    }
    add_filter('wp_page_menu_args','childtheme_menu_args');

    I replaced the updated Thematic with the previous version and the Home tab is back.

    Posted 3 years ago #
  2. jei
    Member

    I tried again. Changed the echo paremeter to false, but it still won't show up. I also tried it without any other functions on my child theme and still the same thing.

    Posted 3 years ago #
  3. Jei,
    read breaking-things-to-fix-others above again. Somewhere you will be calling;
    wp_page_menu
    you need to replace that with;
    echo thematic_add_menuclass(wp_page_menu(thematic_page_menu_args()));
    in other words you need to change the call too not just changing the echo parameter to false.

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.