I would suggest a way to implement this to be in the post template have a call that updates post meta with the current timestamp. Then you can show posts that have been viewed recently by querying meta data for all values within a certain time range ordered by that timestamp.
Related Posts:
- How to return results of a get_posts() in explicitly defined order
- Is it better practice to use query_posts, WP_Query, or get_posts to create various custom loops within a Page?
- how could I get the pagination as I want to when query posts using get_posts function
- Post count per (day/month/year) since blog began
- How to get 4 Posts after the 5 most recent ones
- making random query button using $_GET
- how to exclude “featured” posts from the main loop?
- Show Only Posts Owned By Logged In User + my post
- WordPress pagination with get_posts?
- define orderby URL with meta_key=post_views_count
- My post repeats itself on the second page [closed]
- get_the_title outputs title until spacing; it does not get full length of title
- WordPress query reverse order
- Multiple posts/pages in one page?
- Querying a query
- allow user to edit posts made by others users based on the user role
- How to display most popular post by views count in WordPress?
- Post per page not working
- query_posts works while get_posts doesn’t
- When should you use WP_Query vs query_posts() vs get_posts()?
- posts_per_page no limit
- How can i get count from query post
- Using WP_Query to Query Multiple Categories with Limited Posts Per Category?
- How to show related posts by category
- Ensuring sticky posts are retrieved first (without using two queries)?
- Determine if more posts are available than was asked for in `query_posts()`?
- Limiting query_posts to 1, regardless of sticky post?
- query_posts ->using meta_compare / where meta value is smaller or greater or equals
- How to display posts by current user/author in a custom page template?
- Meta Query with date and time on the same Day before given time
- Pagination on archive.php page
- How should I intercept the main query and inject custom join / order by / group by criteria
- advice on creating a ‘related posts’ query like the one used on stackexchange
- _wp_page_template to dynamically use template
- Using dynamic conditions in ‘posts_where’ filter
- Query only Posts from Both of Two Category?
- List users with the most total posts view
- Getting movie and serial on actor page
- get_post_meta causes database queries
- how to display active, upcoming and past event with featured listing with pagination
- Problem with single-page for my custom post
- How to get only one category of custom post type?
- WordPress get posts by date without query_posts
- Why is that gdsr_sort=thumbs (GD start rating plugin) only works with query_posts and not with WP_Query?
- Query_posts $query_string
- How to order posts by slug using query_posts/ Wp_query
- Order by meta_key with two meta_queries
- Search stores (custom postcode field) within 5, 10, 15 miles of user inputted postcode.. Code modification
- What is the difference between “manage_{$post_type}_posts_columns” and “manage_edit-{$post_type}_columns”?
- How to show only today’s post?
- use query_posts to return a post OR a page by ID
- How do you Query posts with nothing in common?
- ACF Custom Field WP_Query, but need to get all posts, if field doesn’t exist
- Combine query_posts() and get_posts() into single query
- query_posts for child pages
- Is it possible to query_posts using post__in and then Loop through them in the ordered they were queried?
- How do I change the default sort order of a custom column on the posts page?
- orderby:date not working
- Placing post data (title, date, and excerpt) nested in static content
- Single meta key with multiple meta value in like comparison
- Inserting custom data to the_post() during loop
- list child page items (1 level with meta keys)
- Get link which associated with a specific category and tag
- Sorting a query Field by date
- Trying to package posts for republishing by partner offsite
- number of posts per page + random + exclude categories
- While loop articles – if statement order
- query_posts() – problem with “s” parameter
- How to Query Post
- query_post and wpdb returning different results
- Exclude current sticky post
- query_posts pagination will always show identical content
- How to list most popular post
- WordPress Custom Query to get Most Commented Posts in the Past 7 Days
- How can I query for all children posts regardless of parent
- INSERT in table row fatal error
- Post Filtering by GET URL parameters
- Posts query according to meta box date
- How to reverse post navigation at bottom of post
- WP-API: get posts in multiple categories
- 4 posts per page from single category
- Restrict query_posts by Date?
- How to query for a page, get data, then query for child pages of that page
- Get posts from current category?
- Having an issue doing a WP_Query with post_content and category__and
- How to get any type posts include attachments by ids?
- Create a Loop with Posts Ordered by Most Recent Comments
- Pagination doesn’t work in query post in tag template
- Specifying image size used in template the_content
- Order posts by ACF checkbox
- query_posts result differs from wp_query request result
- How to optimize ‘select found_rows()’ query? Several ‘high load average’ alerts daily
- Collect posts from last 48 hours
- query_posts – slightly more advanced query
- Query Posts Creates 404 Error
- How to go to tag archives using a form
- WordPress loop problem: Multiple loops, index.php and is_paged causing duplicate posts on next page
- How do I correctly query posts from a post ID?
- Achieving pagination with `query_posts`
- Create “archives by year and week” by category template