Home>Support>menu not visible on archive pages

menu not visible on archive pages

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

I made a custom template from your vantage theme with minor modifications.
How can I make the main menu reappear on archive pages.

thank you!

Bruno

URL: http://www.mirhelfn.com

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 4 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. 10 years, 4 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. 10 years, 4 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. 10 years, 4 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