Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1.  
  2. application/x-httpd-php menu-primary.php ( ASCII text )
  3. <div id="slickmenu"></div>
  4. <nav id="site-navigation" class="main-navigation" role="navigation">
  5. <div class="container">
  6. <?php
  7. if (has_nav_menu( 'primary' ) && !get_theme_mod('plum_disable_nav_desc', true) ) :
  8. $walker = new Plum_Menu_With_Description;
  9. elseif( !has_nav_menu( 'primary' ) ):
  10. $walker = '';
  11. else :
  12. $walker = new Plum_Menu_With_Icon;
  13. endif;
  14. wp_nav_menu( array( 'theme_location' => 'primary', 'walker' => $walker ) ); ?>
  15. </div>
  16. </nav><!-- #site-navigation -->
  17.  
  18. <?php echo do_shortcode('[searchandfilter fields="search,category,post_tag"]'); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement