I searched in WordPress Codes, and all of the online forums and tutorials about this but could not find any relevant solution. What I am trying to achieve is to create a query that lists posts for a logged in user from the user specific meta key value.
Basically , users will click on a checkbox on frontend and mark the post as
Read. Once they do so, a custom field value sets in the user meta table for that specific user. The value could be
For example if user
A has marked post
Read (True) and user
2 not, then the query will show only that post to user
A only and not to user
Any guidance in the right direction would be highly appreciated.