• Resolved jlevand

    (@jlevand)


    [restrict] shortcode no longer works.

    Now all my users receive the message: “This content is restricted to subscribers”

    All of my users ARE Subscribers and this was previously working with no issues.
    I am using version 3.1.4

    • This topic was modified 2 years, 7 months ago by jlevand.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support ramilbatoy

    (@ramilbatoy)

    Hi @jlevand,
    Sorry if you’re experiencing this issue.
    Are you using the [restrict]..[/restrict] shortcode without adding any parameters? Please make sure that you set the Restrict this Content meta box to everyone before adding the [restrict] shortcode.

    Best regards,

    Thread Starter jlevand

    (@jlevand)

    Yes I am using just the [restrict][/restrict] shortcode. I am still having the issue even after switching to everyone.

    Plugin Support Rebecca Diamond

    (@rebeccadiamond)

    Can you please give me an example of how you are using the shortcode, exactly?

    For instance, I tested this on a site:

    [restrict message="Y'all really should sign up to see this"]
    Here's some stuff
    [/restrict]

    And it shows the message to non-logged in users, or non-members, but the inner content to folks who should have access.

    I used the shortcode block to create this.

    Thread Starter jlevand

    (@jlevand)

    So I created a brand new page. Set “Member access options” to Everyone.

    I put:

    [restrict]Restricted Text [/restrict]

    WHen I log in as a Test User with just Subscriber Role and hit the page, I see “This content is restricted to subscribers” I can give you access to check if you like. As I say, this was working with no issues for years..

    Plugin Support Rebecca Diamond

    (@rebeccadiamond)

    Does that test user have a membership level in Restrict Content, or even just added as a customer?

    The subscriber user role in WordPress won’t show content unless they are also assigned a membership level or added as customers in Restrict Content.

    Thread Starter jlevand

    (@jlevand)

    Hmm, I understand. I switched to the Legacy method and seems ok now..

    Thanks

    Plugin Support Rebecca Diamond

    (@rebeccadiamond)

    Thanks for letting me know! I’ll go ahead and mark this as resolved, but feel free to open a new thread if you have additional questions ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[restrict] shortcode no longer works’ is closed to new replies.