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
- How to mark every 3rd post
- Is there a action hook for the “Empty Trash” button?
- Delete post with all files attached to it
- disable WP automatically inserted line breaks after an image
- Strategy for handling hierarchical pages with empty parent content
- How to merge two or more WordPress posts?
- Writing a view count with w3 total cache
- Utilising posts with various post types & categories?
- Prevent WordPress from giving each post a number
- Single.php Active Category Class
- Specific loop in Shortcode
- Link for the page archive for posts, like using custom post types with get_post_type_archive_link
- How to edit wordpress RSS feed to show post title only
- Search widget breaks when using multiple loops?
- Remove image from post also removes photo from media library
- Require a featured image to publish post
- How to create multiple version of single post
- Is it possible to have two different previews of a post (ie. two templates for one post)?
- how to know if the post has pagination () or not
- Remove Shortcode […] from Blog Preview
- WP Query related posts by current page Tag ID
- How to restore permanently trash page? [closed]
- Bulk unpublish posts between specific dates (e.g. from April 2017 and earlier)?
- The short content by characters [duplicate]
- Most recent post from another database
- Category List (Archive) Page Template By Category
- Reset Popular post query?
- Display posts with tag that matches current post title
- post_content sanitization / transformation process
- wp_insert_post – duration
- Print a message if excerpt is empty after posts have been publish/update!
- Display posts styled exactly like default posts
- How to create a post using REST API with sending data as a JSON body?
- Recent Post Added To Menu Shows Ghost Post With No Title
- How to display the link (title) and thumbnail post?
- How can i limit the number of posts created per category?
- Pagination with an array of post objects?
- Removal of Media Gallery pictures