Restrict access to post but allow teaser on index page

I would like to restrict access to a post, but still have the name and teaser image be available to someone not in the group. This would accomplish two things:

1) Users who aren’t logged in can browse and see a list of all content (prompted to login when selected)
2) Logged in users who don’t have access would still see the name and then we could upsell.

Example:
https://acui.org/resources/bulletin/ (Index view of posts).
Would be prompted to log in when selecting a post that has a restricted category.

Thanks for your assistance!
-Dave

One Response to Restrict access to post but allow teaser on index page

  1. George November 21, 2023 at 4:22 pm #

    Hey Dave,

    Thanks for using our content restriction software on your site.
    You can accomplish this with a set of shortcodes or blocks. Instead of restricting the whole post to a group the usual way, you can omit this and enclose your content using
    [groups_member group="Gold"]
    Only members of the Gold group can see this.
    [/groups_member]
    As for the rest of the users you can use
    [groups_non_member group="Gold"]
    Join the Gold group and enjoy privileges.
    [/groups_non_member]
    I would also recommend you to have a look at this two blog-post series where we describe the whole process and also a way to sell your memberships.
    How to sell Online Courses with free and paid Content – Part 1
    How to sell Online Courses with free and paid Content – Part 2

    Kind regards,
    George

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share