If you’re trying to navigate between posts in the same category, would next_post_link()/previous_post_link() work for you?
These functions have an $in_same_cat
argument, that would appear to suit your needs?
EDIT:
Here is a Plugin, WP Category Archives, that might point you in the right direction? It purports to display:
…a monthly or yearly archive of posts for one specific category. It is very similar to the WordPress Archive except that it just displays one specific category’s posts, not all categories. It can be configured to either show a listing or a pulldown by month or year with or without post counts.
Related Posts:
- How to schedule multiple posts while adding new
- order posts by date like craigslist
- Getting the Next and Previous Posts Titles in the Sidebar?
- the_post_navigation seems to ignore same category filter
- Adding Post Counts to Menu (Nav) Programmatically?
- Navigation link to specific user page
- How to get the latest posting time of archived pages in WordPress?
- Post Navigation
- How to insert current date/time in the content of a post?
- How to get the date of a post in WordPress, so I could use it in a script?
- Restrict post navigation to current sub menu
- get_next_post() and get_previous_post() return wrong posts
- Disable most recent & view all (TABS) on nav-menu.php
- Automatically Updating Publish Date Bug
- How can I show many posts an author has per week?
- If modified on same day, show only time
- Is it possible to create a form post wordpress custom navigation link?
- remove older posts link [closed]
- How to create a submenu that will navigate through different posts in the same page
- How to Next and Prevous Navigation Buttons on the end of the page with custom image Using Wp Post Navigation Plugin
- How to Restrict Previous & Next Post Link to Posts of Same Category?
- One menu for frontpage (one pager), and a different menu for posts
- Show only one page link in content pagination
- Prevent scheduled post being published if date/time is past current date/time
- Automatically add date to the auto generation of post slug
- Highlight static blog page link in header
- How i can limit period of post publication?
- Show posts count for Categories and Tags in wp_nav_menu
- Restrict the_post-navigation to same category?
- Changing default WP-Site creation date
- Navigate through the posts using keyboard arrows
- tribe_get_start_time displays the current date and time on other post types than tribe_events
- Get the most recently modified post date of most recently modified post
- WordPress pagination and Post Navigation not working on home page
- How to show different timestamp
- Get current post’s nav menu name (term name)
- Date is wrong on ‘all posts’ page
- change the post time on multiple posts
- Access last visit time to a post
- Add Text Domain To Post Navigation
- How to show next/prev link, when it’s not active?
- Possible?! A contextually titled back link
- Bulk update published posts date randomly using wp-cli?
- Blog posts pagination not working
- Change URL of previous posts and next posts link in WordPress
- get_next_post() not working with future post status
- How do you update post date (year only) in a separate custom field?
- Excluding category from post navigation in WordPress?
- Creating a link to the first post in a category
- Next / Previous post in a single category
- How to add navigation arrows to manually slide through posts?
- Can the_post_navigation() be outside of the loop?
- Output wp_link_pages as raw url
- Page and Posts loading as index page? Not loading the content
- Count > 1 Navigation Slider
- How do I paginate posts page with $wpdb?
- How to handle dates, trying to calculate time since a post
- ‘get_previous_post’ in same category returning (!empty) when no previous post in category exists
- How can I get the first post THIS SAME CATEGORY?
- Show a page counter for pagination
- How can I merge a several related posts into one post?
- date_query returning only the most recent post instead of the post published before today
- Should we trust the post globals?
- how to limit edit_form_after_title hook to page and post edit only?
- Add a checkbox to post screen that adds a class to the title
- How to cache a shortcode functions output?
- How to call function within a page/post, to dynamically generate content?
- How to force update all posts after import
- How to have different content in the loop and single
- New posts defaulting to ‘0’ primary key
- Same content shared between multiple posts?
- How to add in title a date but with other color, like in iMDb titles?
- Disable author profile in post
- How to set up multiple taxonomies for groups of posts
- Update admin side post list count text
- How can I set a Post’s default visibility to private and pending review checked
- Blog Posts in Custom Menu
- How do I get blog posts to appear within CMS?
- Multisite: Can’t Post or Create Categories
- Query values from a Post Object Repeater [closed]
- Multiple Loops Breaking Pages
- Admin – no Featured image choice in create new/page|post
- Hook for changing excerpt content when excerpt not set
- Display post number by category
- Optimizing the blog loop
- Static pages not working
- Adding a custom post type meta field to rss
- Not adding a new post?
- Thumbnails and images in the blog post are not loading
- Multiple posts in one page
- What’s the best approach to create duplicated pages with paginated posts?
- How to allow some visitors to edit inline specific post
- Posts are printed twice
- Make Show Notes for Individual Podcast Episodes Easy to Find (multiple URL’s?)
- How can I count articles retrieved by tags
- Creating / Editing a post from within site template
- WordPress “Posts Page” isn’t showing template dropdown
- How can I get on the same row two post of different categories?
- Display post count on archive page in reverse order
- How to move all images in a post to a single gallery for a bunch of posts?