• Hello, all. I’m looking for a methodology that would result in a post being permanently hidden from a specific user who logs-in and views the post once. I want the post to disappear after the user has left the page, or after a specified period of time after the post has been viewed. Any ideas?

    Alternatively, allowing the user to click a button to hide the post permanently would also suffice.

    Josh

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’d like to know how this could be done too. In other words, if a user was viewing a page of recent posts, and selected one to read, then came back to the page of recent posts, the post that was just viewed would be gone from view and unable to be selected again. I also need it to stay hidden when the user logs in during subsequent visits too. As such, I’m thinking that info would have to be tracked and stored in the database per user and then checked each time the user viewed the page of recent posts, right?

    Perhaps any post that is viewed once for a specific user is switched to being labeled as a “draft” of a post, instead of a published post, but only for that user. Possible?

    Yes it’s “possible” but…

    No specific idea but it’d be fairly complex as you’d have to set up some sort of post-view function that counts the posts of that particular user (you’d need a database to store the post count of every user for every post!)… then the other code to hide it.

    This would be custom plugin territory.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permanently hide post from logged-in user once user has viewed it a single time?’ is closed to new replies.