• Resolved sdaponte

    (@sdaponte)


    So I have a top navigation, being generated using the following line of code:
    <?php wp_nav_menu( array( 'theme_location' => 'primary') ); ?>
    I would like to include a where clause in this where it will only display pages under a certain order number (menu_order < 10, for example)

    Anyone know if this is possible?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Navigation clause where menu_order is greater than n’ is closed to new replies.