Home › Toolset Professional Support › [Resolved] Unable to hide link to create post form to disabled users
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.
This topic contains 1 reply, has 1 voice.
Last updated by tipinoncomuni 6 years, 9 months ago.
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
Sorry! Was a cache problem!