Custom taxonomy returns 404

You cannot have a rewrite slug of “https://wordpress.stackexchange.com/”. Note that using a slug of ”, which you will find floating around, will not work for the latest WordPress versions either. If you want a url like http://domain.com/custom-post, there are no bullet-proof solutions, but the answer to this question will give you some leads: Remove slug … Read more

Secondary navigation menu on one page

If you need this menu on one page only, let’s say About Us (slug: about-us), you can easily add a conditional like this in pages.php at the place where you want the menu to appear: if (is_page(‘about-us’)) { wp_nav_menu( array( ‘theme_location’ => ‘secondary-menu’, ‘menu_class’ => ‘secondary’, ‘fallback_cb’ => ” )); } Remember that if you … Read more