Best way i think would be to add an array of read post IDs to the user meta table and use them in the ‘post__not_in’ Parameter in the pre_get_posts hook. In my mobile right now, so i will edit this answer once i’m at work to insert a code example.
Related Posts:
- Want to Add Custom Fields for Uploading video to WordPress Users from front end
- how to delete all users and posts based on ‘user_meta’?
- Users create/join groups
- Autofill advanced custom field with user data
- UPDATED: Save a custom_field value when automatically creating a post using wp_insert_post
- Creating multiple profiles under one user to assign to particular posts
- Display and Allow users to edit their own profiles
- How to edit this code to get the categories in achieve page?
- Category with post type pagination returns 404
- Disable user from updating certain posts
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- How to restrict author to only access one custom post type ?
- Create custom post with custom user rules
- Associate multiple users to custom post type
- How to assign permissions for a CPT to a user
- Limit the post for differents custom post type in the same wp_query
- Different Ways to Query Custom Post Types?
- BBPress Search results in WordPress search
- Custom post type archive page for multiple post types
- Listing all term items alphabetically / sorting loop
- pagination not working for category.php (custom post types in categories)
- How to display Related Posts based on number of taxonomy terms matched
- Filter date from post meta when date is in string format
- query_posts adding extra code to homepage
- How to show only the most recent post on my custom post type archive?
- How can i display movies in profile page, added by an user?
- How to make WP_Query not to show irrelevant posts?
- What is the ID parameter for custom post types in query_posts?
- Loop for custom post types filtered by a taxonomy
- How to limit post per page of custom post type?
- Custom User role not working with custom post type
- Custom query – get_the_terms not work
- get comments by current user inside page template
- 3 random images from custom post type, each in a div with a diffrent class
- Why are some of my custom posts not showing up on my page?
- how to associate several authors to a custom post type
- post-per-page and offset not working
- Control content before and after custom post type loop
- Custom post type, custom taxonomy, query posts only from taxonomy (children of)
- Display custom posts randomly in custom taxonomy archive
- Getting all ID’s matching a title in a custom post type
- Assign post type to many users
- why is the current page title being output?
- Count custom post type based on two meta data
- Querying multiple values from a single key
- Not able to export large no. of posts in csv
- attach CPT data to a taxonomy
- Check if user has comment on current post
- Pagination not working on custom query on a page
- Loop through posts of only 2 statuses
- Targeting custom post type via functions.php doesn’t work
- Query within a foreach within a query (queryception)
- find custom post type post by searching its custom field with my string
- FacetWP paging custom wp_query
- Showing User’s Post Counts by Custom Post Type in the Author.php?
- Get current user id
- Can’t change posts per page in WordPress Post Type Query
- postsperpage value not being applied
- Best way to create a search for custom post type by custom field values
- Dynamic category name in query post
- Incorrect ordering of custom post type based on time
- List all posts in taxonomy term
- Query all post types but limit to parents
- Add a custom post when inserting a new user in WordPress?
- Meta box with front-end styling
- Preventing role reading others posts
- Order users by number of posts (includes custom post type)
- HM CMB: Post Select Field for CPT ID
- 4 posts per page from single category
- Display Posts Query with IF function
- Query Multiple Custom Post Types & Exclude a Taxonomy Term
- Custom Post type showing up in loop, regular posts are not showing up
- Query Custom Post Type based on text input
- Plugin needed to allow subscribers to post articles on the front end without admin approval [closed]
- Getting custom post type info using get_adjacent_post
- Custom Post Type Query W/Category Dropdown
- Query all posts under one taxonomy? Why is my code not working?
- Custom Post Types Not Showing Up In query_posts Result
- Find Posts based on Child Post value
- Query for bbPress replies to current topic?
- Custom Post Type ‘Event’: Chronological list of recurring events from meta_values in array
- Showing only posts from the current user who is logged in?
- Why can’t I query more than 1 post type at a time?
- Sorting the Loop by Taxonomy Value
- Custom Query: Multiple CPTs and a taxonomy filter
- WP query_posts group by meta field related
- Display custom post front end filter by ACF equals current user
- Show/hide posts and categories based on user meta
- returning the currect URL for nested posts
- users post count
- Sticky posts limit query and pagination for a custom post type
- Custom wp-query display post only today
- Clone wp-admin/users.php (Users Admin Page)
- Create WordPress User in backend, and automatically create a new post in Custom Post Type with user uame as the Title in the post
- Custom post type archive page filters
- Link custom post type to users membership
- Filling custom post type posts from a rest api
- custom post type and a “sticky” position taxonomy
- Show all post type posts in manage users posts column