• Resolved JosiahW

    (@josiahw)


    For some reason the shortcodes are not working properly for me. Here is what I am doing:

    ——————————–

    content #1 - text about whatever
    
    [groups_non_member group="Subscriber"]
    content #2 - text about whatever
    [/groups_non_member]
    [groups_member group="Subscriber”]
    content #3 - text about whatever
    [/groups_member]

    ——————————–

    Now, content #1 shows up fine for both group and non-group members of “Subscriber” as it should.

    If the user is not a member of group “Subscriber” they see content #2 and do not see content #3. That is all good and works great.

    If the user is a member of group “Subscriber” they do not see content #2 and they do not see content #3. This is my issue. The “Subscriber” group user should see content #3 correct? What am I doing wrong here?

    https://wordpress.org/plugins/groups/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author itthinx

    (@itthinx)

    Hi,

    I think that you’re confusing the Subscriber role with a group.

    You should create a group, and use the group’s name instead of the role name. You can try it with the default Registered group – change the shortcodes to use that instead of Subscriber and content #2 is visible if you’re not logged in while content #3 is visible only if you are.

    Cheers

    Thread Starter JosiahW

    (@josiahw)

    I have a group called Subscriber. I also have a role called Subscriber. Could this be the issue? Can you not have a group and a role with the same name?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Content Not Showing with Shortcode’ is closed to new replies.