Home>Support>menu not visible on archive pages
  1. 9 years, 6 months ago Andrew Misplon
    Hi, I Work Here

    Hi Bruno

    Hard to say looking at the site from the browser. Could you perhaps send a zipped copy of your child them to [email protected]? I’ll take a look. Please include a link back to this thread in that email.

    Thanks

  2. 9 years, 6 months ago Bruno Mandolesi

    Hi Andrew,

    thank you for your reply.
    I think the problem is between the theme and a plug-in of wpmu (custom sidebars pro).

    The support there ask how the menu in vantage is implemented:
    Did he use custom Walker class? Or standard wp_nav_menu?

    Can you help me out, I think together we will fix this issue.

    Thanks!

  3. 9 years, 6 months ago Bruno Mandolesi

    Hi Andrew,

    fixed it by myself with this code in functions.php

    function namespace_add_custom_types( $query ) {
      if( is_category() || is_tag() ) {
        $query->set( 'post_type', array(
         'post', 'nav_menu_item', 'ansprechpartner'
    		));
    	  return $query;
    	}
    }
    add_filter( 'pre_get_posts', 'namespace_add_custom_types' );
    
  4. 9 years, 6 months ago Andrew Misplon
    Hi, I Work Here

    Awesome, really glad to hear you made progress there. Thanks for posting the solution.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More