Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter alanFW

    (@alanfw)

    Update – Appears to be a conflict with the ‘External-Video’ plugin, which creates a custom post type for any video from Vimeo.

    I guess my next step is to make WordPress skip these custom posts?

    Thanks!

    Thread Starter alanFW

    (@alanfw)

    <div id="navigation">
         <?php if (is_category('Blog')) { query_posts( 'cat=-external-videos' ); } ?>
         <?php wp_nav_menu( array('menu' => 'primary', 'container' => false, )); ?>
    </div><!--end navigation-->

    Fixed to stop the External Videos custom post type clashing with the wp_nav_menu when in blog category (default for all posts)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_nav_menu category not working – forum recommended fix not working’ is closed to new replies.