Skip Navigation

[Resolved] Unable to hide link to create post form to disabled users

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Author
Posts
#621662

I am trying to:
Only Administrator,Editor,Author,Contributor are allowed to create post.
I want to hide the 'create' button link to people not allowed to create post.
This is the code i'm using in the content template Loop Output Editor:

[wpv-layout-start]
<h1>[wpv-archive-title]</h1>
[toolset_access role="Administrator,Editor,Author,Contributor" operator="allow"]<span style="background-color:green; padding:3px 5px 4px 5px;"><a href="/new-tool" style="color:white">CREATE new tool</a></span>[/toolset_access]
	[wpv-items-found]
	<!-- wpv-loop-start -->

Link to a page where the issue can be seen:
hidden link

I expected to see:
No button for guest users

Instead, I got:
The button can be seen by everyone

#621663

Sorry! Was a cache problem!