Support › Meta Box Builder › How to assign roles to meta boxes using the MB
Question how does one assign roles to a metabox? I have create some user meta boxes, but can not assign them roles in Members wordpress plugin. Would you know any role plugin which can assign roles to the user meta box.
I have been doing more reading and it seems that i have to use "Meta Box Include Exclude" to assign user role. Is this correct or should I be using "Meta Box Conditional Logic"
Also I am so sorry for stupid questions.
Yes, you should use the extension "Meta Box Include Exclude". It supports to control the visibility of a meta box based on user role.
I must be doing something incorrect, as I can not hide the meta box i have created.
I have set the include Exclude extension to include the administrator role, but i can still see the meta box when i login as an non-administrator. Am i doing something incorrect.
The Custom Attributes is set for the following "key"=type "value"=user.
Can you make a screenshot of the settings?
Sure, please go to this link.
And Thank you so much.
I know this is a stupid question, but how would you limit access to the user box to only administrator access? Using the MBB.
I have tested and it works, did you installed and activated the Include/Exclude extension?
Thank you for testing it for me. Can you explain what you did you get it to work? How did you only allow admin's to see the box?
Nothing is special here, here is my screenshot, similar with you:
After I did it, only Administrator can see the Meta Box.
Thank you for the screenshot and confirming how to do it. I will go back and try it again.
Thank you again