Show in Loop (and Nav) but Block Access to Post
-
I use the Groups plugin on many different sites and love it. One thing I like about it is that it removes posts from the loop (and navigation if applicable) for users that are not in the group.
However, I have a new project where we would like to show the posts in the loop, but then block access to the actual post (or page).
The use case is a site that host virtual events and webinars – some are free, some are paid/exclusive access which we are controlling by the Groups plugin. virtual event platform. The sessions (Custom post types) are displayed on a list/loop. Typically, we hide any sessions that a user isn’t a part of. However, in this case, we’d like to display the session in the loop, but block access and in doing so, send the user to an “upgrade” page where they can upgrade their ‘membership’ per se, and then gain access to the actual posts.
Thanks
- The topic ‘Show in Loop (and Nav) but Block Access to Post’ is closed to new replies.