I just found the answer to this at another Stack… as is always the way when I post a question, it seems. No matter what one does, in regards to pagination in this situation, WP will always go by post date first. I needed to add a function that would use menu_order and found the answer here.
function wpse73190_gist_adjacent_post_sort( $sql ) {
$pattern = '/post_date/';
$replacement="menu_order";
return preg_replace( $pattern, $replacement, $sql );
}
add_filter( 'get_next_post_sort', 'wpse73190_gist_adjacent_post_sort' );
add_filter( 'get_previous_post_sort', 'wpse73190_gist_adjacent_post_sort' );
Related Posts:
- Custom post type archive 404’s with paginate_links
- Sort Order for a Custom Query in a Post Type Archive Not Working
- Select All in Parent Category, Group by Child Category?
- Number of pages – multiple (custom) post types
- WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)
- Custom permalink with pagination
- Related posts by author pagination not working on the production site
- Secondary loop pagination on custom post type single post gets redirected to first page
- Pagination Doesn’t Work
- Numeric pagination custom post type
- Custom wp_query pagination – next_posts_link() or wp_pagenavi() always empty
- custom post type paging not working past page 3
- WP_Query post at custom position
- query order by date on custom type: wrong order
- WP_Query pagination using only numbers instead of /page/1 on URL
- Re-order posts in query after
- Pagination not working
- Pagination Issue: Custom Post Type In Index
- Custom query form submission pagination
- Paginated Taxonomy Term Archive including one post per term
- How to query different post types in specific order?
- Unable to get paginate_links working with a custom query [duplicate]
- Pagination on category page with custom post types
- How to add pagination to wp_query [duplicate]
- Pagination : How to remove /page/x/ after a ‘POST’ action on a form returning to page 1
- Combining sorted and random CPT
- Pagination on a custom post type loop
- Pagination for Custom Taxonomy Page [duplicate]
- Pagination on with query_posts in custom post type template
- Wp_query: sort by PHP variable
- Custom taxonomy rewrite give pagination 404
- How to do WP_Query with two meta fields with orderby clause
- Woocommerce search pagination not working
- How do you paginate a query grouped by month?
- Order Custom Post Type by Custom Field Value
- Pagination issue on category.php using custom post type query
- Change sort order when using ‘orderby’ => ‘type’
- Pagination with custom query, custom search form, single and pages, ajax and no plugins
- can these 3 queries be re-written as 1 query?
- pagination not working for category.php (custom post types in categories)
- Custom WP_Query always respond with 200 status even when no entry
- Pagination doesn’t function properly for archive of a custom post type set as the front page
- Trouble with pagination
- Pagination 404 on Index with custom query
- Having Issue on Ordering CPT by Custom Field In Custom WP Query
- WP_Query of custom post type sorted by meta_key has unexpected results
- WP_Query not resetting after wp_reset_postdata
- Custom post type and custom taxonomy 404 on page 2
- Pagination for search results of custom post type [duplicate]
- Post ordering not working with custom field
- Custom Post Type Archive Pagination
- All blog posts are not showing up
- Displaying Portfolio Filter by Category Order (alphabetically)
- Single parent post lists child posts with pagination
- Custom post type pagination error
- Previous / Next Links For Custom Post Type Sorted By Meta_Value
- custom taxonomy pagination 404 error
- Pagination in custom post type archive.php not working
- Display Parent-Child Posts in specific order by comparing IDs in array
- How can I sort the results of a REST API response by the title of a connected custom post type?
- Pagination Not Working When Used With WP_Query() `offset` Property
- Order posts alphabetically with numbers but some of the posts has numbers in the title
- Numeric pagination custom post type
- SEARCH QUERIES – REVERSE OUTPUT
- Problems in paginate_links with custom query loop and MB-Relationships
- WordPress doesn’t respect Page slug in custom post type url pagination. Keeps getting removed
- Make pagination work as a carousel (custom query)
- Wp Query sort order from custom MetaBox
- WP Query with multiple post types ordered by custom meta date then published date
- Orderby modified only for specific post types
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- Custom post order when using OR relation
- why custom post archive gives always no more than 10 posts despite of paging settings?
- query and paginate multiple post types
- Custom post type blog pagination conflict
- Custom post type pagination, single page issue
- Pagination always adding “Next” link when results come from Custom Post Type WP_query
- Paged within a custom content type template [duplicate]
- 404 on Pages for Custom Post Type & Query_Posts
- Pagination not working on homepage
- send user to first page of results when reposting to page?
- Fourth page of custom post type archive page does not exist
- Pagination broke after updateto WordPress 3.4 [duplicate]
- Archive page – problem with pagination
- WP_query orderby not working after WP4.0 update [closed]
- Query order by meta value force specific tag first
- Order Wp Query by earliest of 3 dates meta query
- Adding ‘menu order’ column to custom post type admin screen
- Archive page…limiting posts per page
- Use WP_Query object inside a function
- WP_Query search custom posts meta date fields
- Using new WP_Query in shortcode in a custom field causes the main post content to not display
- Taxonomy list. Order by a specific custom post type count
- Creating a simple pagination for custom post type templates
- Custom query shows custom post types in trash
- Display multiple custom post types and sort them chronological by one of their fields
- Pagenavi Plugin and Custom Post Type – Multipage results
- How can I use WP_Query argument ‘Like %..%’?
- Query child posts on parents single.php?
- Quering array of post types & pagination. Articles are repeating sometimes on different pages