posts_nav_link() works off the main query. Instead of invoking your own $upcoming, just use query_posts( ... ) to temporarily overwrite it, and the corresponding template tags…
query_posts(
array(
'post_type' => 'tribe_events',
'eventDisplay' => 'upcoming',
'posts_per_page' => 1,
)
);
if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php tribe_get_template_part( 'list/single', 'event' ) ?>
<?php endwhile;
else :
echo 'no upcoming events';
endif;
wp_reset_query();
Related Posts:
- Pagination not working with custom loop
- Custom post type pagination 404 fix?
- wp_pagenavi() with custom wp_query()?
- How do I Paginate Search Results for Custom Post Types?
- Custom Post Type Pagination Not Working On Archive Page
- Modify custom post type rewrite rules in a separate function
- Shortcode Displaying Custom Post Types
- 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 go to first page if i’m on last post
- Pagination throws 404
- Pretty paged permalinks in custom post type loop
- Pagination with custom loop
- Group list of posts by taxonomy and allow for pagination
- paginate function in archive for custom-post-type
- custom post type paging not working past page 3
- WP_Query pagination using only numbers instead of /page/1 on URL
- WordPress rewrite my URL when i use pagination
- pagination redirecting from page number url before page requested
- How to add pagination to wp_query [duplicate]
- CPT: if more than X images are in post, use pagination
- Hard code the nextpage tag into my theme?
- Pagination of Custom Post Types not Changing Posts
- List all posts in a custom post type with pagination (the correct way)
- Category with post type pagination returns 404
- Pagination issue on category.php using custom post type query
- Is it possible to to use custom post type types on a page with the same slug somehow?
- WordPress custom post query with pagination
- Custom Theme With Custom Loops
- pagination not working for category.php (custom post types in categories)
- Custom post type pagination 404
- Pagination broken by naming conflict between CPT and Page
- Pagination Error : Duplicate argument being outputted
- Pagination doesn’t function properly for archive of a custom post type set as the front page
- Trouble with pagination
- previous_post_link in same taxonomy in custom post type
- How to do admin CRUD & Pagination
- Pagination hitting 404 page on /page/4
- Using Pagination for Custom Post Type and keeps returning 404
- Pagination for search results of custom post type [duplicate]
- Pagination of custom post type leads to 404 error
- All blog posts are not showing up
- Custom post pagination trouble
- Pagination on a page
- Single parent post lists child posts with pagination
- Using custom post type as front home page pagination not working
- Custom Post Type, Pagination and 404s?
- 2 custom post type paging in 1 custom taxonomy
- Problem with custom loop navigation inside the blog page
- pagination for custom post type archive page
- custom taxonomy pagination 404 error
- Sticky posts limit query and pagination for a custom post type
- Pagination in custom post type archive.php not working
- Custom Post Type Pagination getting 404 error
- Numeric pagination custom post type
- Problems in paginate_links with custom query loop and MB-Relationships
- Make pagination work as a carousel (custom query)
- User Archive page for Custom Post Type – Pagination Issue
- Custom post pagination not working
- CPT/Taxonomy/Postname permalink structure makes pagination break
- I want to create pagination for my custom post type archive that i am displaying with loop
- How to get a custom post type archive paged when using a custom field for post sorting?
- Pagination in wp-admin for CPT
- Query post type created by a plugin
- 404 error next-page [2] PageNavi custom type taxonomy
- Add pagination to custom page
- Pods pagination erases my sub menu
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- Get Non-Paginated Index of Post in Paginated Query
- Custom post type with Filter and Page Nav
- Pagination custom post types outside loop
- Paginating custom query on category template
- Custom post type archive pagination with HTML5Blank theme?
- Paginate custom taxonomy category with wp_custom_pagination
- Custom post type navigation on static page
- Custom pagination [duplicate]
- Pagination always adding “Next” link when results come from Custom Post Type WP_query
- Rewrite Rule & Regex – Extract ‘cat-name’ and ‘page-number’ from http://domain.com/custom-post-type/category/cat-name/page/page-number
- Using pagination with specific custom post type [duplicate]
- Pagination not working with custom loop
- how to limit query_post to first page?
- Pagination not working with custom loop
- Pagination not working with custom loop
- Archive Page Pagination not working
- Classic Custom Post Types and WP-PageNavi
- List of filtered Events is breaking paging?
- Pagination not working with custom loop
- Pagination not working on homepage
- send user to first page of results when reposting to page?
- How do I paginate a custom post type listing on a custom template page?
- Fourth page of custom post type archive page does not exist
- Pagination broke after updateto WordPress 3.4 [duplicate]
- WordPress pagination URL
- WordPress getting problem with pagination [duplicate]
- What Is My Fault With This WP_QUERY ? [ Pagination Problem ]
- Unable to display paging navigation with a custom post type loop
- Pagination not working only on Archive-Name.php using new WP_Query
- Custom post type pagination conflict result in 404
- Custom post type pagination not working in index.php file
- WP Query to display events and custom post type in a set order