Dear Sir/Madam,
I want to add the access control to page like
[toolset_access role="Administrator,Member,Dealer" operator="allow"] Post form Add New Car [/toolset_access][toolset_access role="Administrator,Member,Merchant,Dealer" operator="deny"]閣下尚沒有權限。[/toolset_access]
But after upgrading the WP to 5.1.1, I can't find the access control setting from a page edit.
Best regards,
Kelvin.
Hi, there's no built-in Access control block, so you'll have to add the controls using WordPress's shortcode blocks. I'm attaching a screenshot here showing how that might look for a simple case.
Dear Christian Cox,
Thanks for your reply, I did remember there was such shortcode block on the right before, is it removed by after WP5.1.1 new UI or Toolset removed it?
It is necessary to have such blocks
Best regards,
Kelvin.
Thanks for your reply, I did remember there was such shortcode block on the right before, is it removed by after WP5.1.1 new UI or Toolset removed it?
I don't recall being able to add this shortcode from a metabox on the right before. There was a Post Group meta box. That's still available in the document tab on the right panel. But this shortcode is specific for use inside post content. In the new block editor, it's integrated in some blocks like the paragraph block. See the attachment here.
Dear Christian Cox,
Thanks for your reply. I find the trick is adding text into paragraph block and then the icon will be showed, it is hidden if not text inside the block.
Best regards,
Kelvin.
Okay thanks for the update.