WordPress.org

Ready to get started?Download WordPress

Profiles

jian118

Profile picture of jian118
  • Member Since: January 9th, 2011
  • Posted a reply to "WP Nav Menu Dissapears in Category Pages!", on the site WordPress Support Forums:
    function getMainMenu(){ $locations = get_nav_menu_locations(); $menuItems = wp_get_nav_menu_items( $locations[ 'primary' ] ); if(empty($menuItems)) return false;…

    2 years ago

  • Posted a reply to "WP Nav Menu Dissapears in Category Pages!", on the site WordPress Support Forums:
    u have to create your own getMainMenu function in functions.php ur getMainMenu function should return…

    3 years ago

  • Posted a reply to "WP Nav Menu Dissapears in Category Pages!", on the site WordPress Support Forums:
    It works! Thanks. But i have a better solution for those who have their own…

    3 years ago