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
- What might cause two dates to appear on a blog post?
- Get WordPress post content by post id
- Get page ID of page that is set as the posts page
- Get Posts Under Custom Taxonomy
- How to limit the number of posts that WP_Query gets?
- Stop WordPress Wrapping Images In A “P” Tag
- When is the ‘post_content_filtered’ column in database cleared by WordPress?
- Turn a URL into an Attachment / Post ID
- GET the excerpt by ID
- Stop WordPress automatically adding tags to post content
- Determine if page is the Posts Page
- How to get ‘post_content’ without stripping tags?
- How to add an admin notice upon post save/update
- Print Current Post Index number within Loop
- Should we trust the post globals?
- Optimize post insert and delete for bulk operations?
- Get the Current Page Number
- How do you add thumbnail support for custom post types?
- How to mark every 3rd post
- Change Posts per page count
- Keep featured content post in homepage with original order
- How to display related posts from same category?
- Can posts have parents?
- Is there a action hook for the “Empty Trash” button?
- How to end the excerpt with a sentence rather than a word?
- How do I check if I linked to a post before I delete it?
- How to change the case of all post titles to “Title Case”
- Appending content with broken in 4.4
- How to get posts published between a date and today?
- ZIP up all images displayed in a [gallery] and offer as download link
- How to detect single.php (but not single-portfolio.php)?
- How to check if post meta key exists or not in wordpress database
- How to remove a column from the Posts page
- removing inline styles from wp-caption div
- What is the use of to_ping and pinged column?
- How to use “Add link” pop up for a WordPress widget
- Remove Categories / Tags From Admin Menu
- How to retrieve text only from wp_content() not from wp_excerpt()?