User does not have access.
Post "Demo post 1" is protected by CRM - required tag 'Allowed_Access_Demo2'. User does not have the required tag applied.
User does not have access.
Post "Demo post 2" is protected by CRM - required tag 'Allowed_Access_Demo2'. User does not have the required tag applied.
User does not have access.
Post "Demo post 3" is protected by CRM - required tag 'Allowed_Access_Demo2'. User does not have the required tag applied.
User does not have access.
Post "Demo post 4" is protected by CRM - required tag 'Allowed_Access_Demo2'. User does not have the required tag applied.
User does not have access.
Post "Demo post 5" is protected by CRM - required tag 'Allowed_Access_Demo2'. User does not have the required tag applied.
The Whole Page Template Markup:
Post Archive Markup.
<!-- Loop through post items -->
<Loop type=post count=10>
<!-- If user has access to a single post item -->
<If user_field=wp_fusion_access>
<!-- Post item fields-->
<h1><Field title /></h1>
<div><Field content /></div>
<!-- Post item field displayed conditionally -->
<If user_field=wp_fusion_tags includes value="Cannot_See_Slug">
<h5 style="color:red">User can not see Post slug</h5>
<Else />
<h5> Slug:</h5>
<Field name="slug"/>
</p>
</If>
<!-- User does not access to a single post item -->
<Else />
<div style="padding:40px 10px; margin:50px 0; border:1px solid #dee2e6;">
<h2 style="color:red; border:none;">User does not have access.</h2>
<p >Post <strong> "<Field title />"</strong> is protected by CRM - required tag 'Allowed_Access_Demo2'. User does not have the required tag applied. </p>
</div>
</If>
</Loop>
Available tags for 'ExamplePagesUser' User:
WP Fusion tag ID: Can_See_ExcerptWP Fusion tag ID: Cannot_See_Title
WP Fusion tag ID: Can_See_Author
WP Fusion tag ID: Cannot_See_Slug
WP Fusion tag ID: Membership Premium
WP Fusion tag ID: Display-slug Optionally