previous next with custom-post-type by order attribute
I have a custom-post-type called ‘artists’. I list them by the order attribute (menu_order). $args = array( ‘post_status’ => ‘publish’, ‘post_type’ => array(‘artists), ‘orderby’=> array(‘menu_order’=>’ASC’ ), ); $wp_query = new WP_Query( $args ); When I use the_post_navigation() to get the previous and next links, it takes the date as the order instead of the menu_order. … Read more