Title: akaalps's Replies | WordPress.org

---

# akaalps

  [  ](https://wordpress.org/support/users/akaalps/)

 *   [Profile](https://wordpress.org/support/users/akaalps/)
 *   [Topics Started](https://wordpress.org/support/users/akaalps/topics/)
 *   [Replies Created](https://wordpress.org/support/users/akaalps/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/akaalps/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/akaalps/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/akaalps/engagements/)
 *   [Favorites](https://wordpress.org/support/users/akaalps/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Checkout Field Manager (Checkout Manager) for WooCommerce] Notice: Undefined index: wccs_rq_1,2,3,4,5…](https://wordpress.org/support/topic/notice-undefined-index-wccs_rq_12345/)
 *  [akaalps](https://wordpress.org/support/users/akaalps/)
 * (@akaalps)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/notice-undefined-index-wccs_rq_12345/#post-6286453)
 * same problem here. Any updates?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Archive page does not display the menui](https://wordpress.org/support/topic/archive-page-does-not-display-the-menui/)
 *  Thread Starter [akaalps](https://wordpress.org/support/users/akaalps/)
 * (@akaalps)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/archive-page-does-not-display-the-menui/#post-5912854)
 * hi a2ztechnologies and WPyogi,
 * fixed it by adding this code in functions.php
 *     ```
       function namespace_add_custom_types( $query ) {
         if( is_category() || is_tag() ) {
           $query->set( 'post_type', array(
            'page', 'nav_menu_item', 'ansprechpartner'
       		));
       	  return $query;
       	}
       }
       add_filter( 'pre_get_posts', 'namespace_add_custom_types' );
       ```
   
 * thank you anyway for your feedback!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Archive page does not display the menui](https://wordpress.org/support/topic/archive-page-does-not-display-the-menui/)
 *  Thread Starter [akaalps](https://wordpress.org/support/users/akaalps/)
 * (@akaalps)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/archive-page-does-not-display-the-menui/#post-5912717)
 * Here is masthead.php
 *     ```
       <?php
       /**
        * Part Name: Default Masthead
        */
       ?>
       <header id="masthead" class="site-header" role="banner">
   
       	<div class="hgroup full-container">
       		<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home" class="logo"><?php vantage_display_logo(); ?></a>
   
       		<?php if( is_active_sidebar('sidebar-header') ) : ?>
   
       			<div id="header-sidebar">
       				<?php
       				// Display the header area sidebar, and tell mobile navigation that we can use menus in here
       				add_filter('siteorigin_mobilenav_is_valid', '__return_true');
       				dynamic_sidebar( 'sidebar-header' );
       				remove_filter('siteorigin_mobilenav_is_valid', '__return_true');
       				?>
       			</div>
   
       		<?php else : ?>
   
       			<div class="support-text">
       				<?php do_action('vantage_support_text'); ?>
       			</div>
   
       		<?php endif; ?>
   
       	</div><!-- .hgroup.full-container -->
   
       	<?php get_template_part( 'parts/menu', apply_filters( 'vantage_menu_type', siteorigin_setting( 'layout_menu' ) ) ); ?>
   
       </header><!-- #masthead .site-header -->
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Archive page does not display the menui](https://wordpress.org/support/topic/archive-page-does-not-display-the-menui/)
 *  Thread Starter [akaalps](https://wordpress.org/support/users/akaalps/)
 * (@akaalps)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/archive-page-does-not-display-the-menui/#post-5912709)
 * Sorry WPyogi!!!
    I will, I promise!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Archive page does not display the menui](https://wordpress.org/support/topic/archive-page-does-not-display-the-menui/)
 *  Thread Starter [akaalps](https://wordpress.org/support/users/akaalps/)
 * (@akaalps)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/archive-page-does-not-display-the-menui/#post-5912705)
 * Hi,
 * am using this code in functions.php.
    If i don’t use I do not see my taxonomies
   in the results, but the menu is visible… Any idea how to combine this code and
   show the menu too?
 * Thank you!
 *     ```
       function namespace_add_custom_types( $query ) {
         if( is_category() || is_tag() ) {
           $query->set( 'post_type', array(
            'post', 'ansprechpartner',
       		));
       	  return $query;
       	}
       }
       add_filter( 'pre_get_posts', 'namespace_add_custom_types' );
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Archive page does not display the menui](https://wordpress.org/support/topic/archive-page-does-not-display-the-menui/)
 *  Thread Starter [akaalps](https://wordpress.org/support/users/akaalps/)
 * (@akaalps)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/archive-page-does-not-display-the-menui/#post-5912697)
 *     ```
       <?php
       /**
        * The Header for our theme.
        *
        * Displays all of the <head> section and everything up till <div id="main">
        *
        * @package vantage
        * @since vantage 1.0
        * @license GPL 2.0
        */
       ?><!DOCTYPE html>
       <html <?php language_attributes(); ?>>
       <head>
       	<meta charset="<?php bloginfo( 'charset' ); ?>" />
       	<meta http-equiv="X-UA-Compatible" content="IE=10" />
       	<title><?php wp_title( '|', true, 'right' ); ?></title>
       	<link rel="profile" href="http://gmpg.org/xfn/11" />
       	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
   
           <link href='http://fonts.googleapis.com/css?family=Dosis:400,200,300,500,600,700,800|Pacifico|Average|Roboto+Condensed:300,400' rel='stylesheet' type='text/css'>
   
       	<?php wp_head(); ?>
   
       </head>
   
       <body <?php body_class(); ?>>
   
           <?php
       	  if (ICL_LANGUAGE_CODE == 'it') {
   
       	  } elseif (ICL_LANGUAGE_CODE == 'id') {
   
       	  }
       	?>
   
       <?php do_action('vantage_before_page_wrapper') ?>
   
       <div id="page-wrapper">
   
       	<?php do_action( 'vantage_before_masthead' ); ?>
   
       		<?php get_template_part( 'parts/masthead', apply_filters( 'vantage_masthead_type', siteorigin_setting( 'layout_masthead' ) ) ); ?>
   
       	<?php do_action( 'vantage_after_masthead' ); ?>
   
       	<?php vantage_render_slider() ?>
   
       	<?php do_action( 'vantage_before_main_container' ); ?>
   
       	<div id="main" class="site-main">
       		<div class="full-container">
       			<?php do_action( 'vantage_main_top' ); ?>
       ```
   

Viewing 6 replies - 1 through 6 (of 6 total)