Hi
We dont have the basic shortcode for restrict content for guests/members. I will definitely add it to our next version.
Thanks
Hi
We dont have the basic shortcode for restrict content for guests/members. I will definitely add it to our next version.
Thanks
We have added [wppcp_guest_content] and [wppcp_member_content] shortcodes as solution to your requirement in the latest version.
Wonderful, looking forward to testing it out. Thank you.
Hi nimeshrmr,
I just tried out those shortcodes but neither of them takes any effect. Everything within the shortcodes is displayed, no matter if the user is logged in or out. Thanks for helping!
Best
Sascha
Hi Sascha
I checked it its working properly. Can you provide your site details to check this issue.
Hi nimeshrmr,
sorry, you´re right. It works, but there is a mistake on your documentation page at the very bottom (http://www.wpexpertdeveloper.com/restrict-content-guests-members/):
[[wppcp_member_content message=”You don’t have permission for this content.” ]
Content for Members
[/wppcp_guest_content]]
The last line must be [wppcp_member_content].
I think my fault was to simply copy the code from your page so it was pasted within < code >-tags. I now deleted the tags and everything works fine! Even putting other shortcodes inbetween.
Sorry again and thanks for your help!
Sascha`
Hi Sascha
Sorry about the mistake in Documentation. Now I have fixed the docs to remove additional brackets.
Hope everything is working now