Tagged: custom post type
June 16, 2015 at 8:37 am #11194
I am using the User Role to manage a wiki based web site.
But the plugin wpmudev wiki, that creates a wiki type of content, is not listed neither in the user role capabilities norin the WPFront User Role Editor Settings.
Whilst the CM Tooltip Glossary plugin, that creates glossary items, is listed in the capabilities list, however in the wp backend is still visible.
How can I exclude it from the wp backend bar?
ThanksJune 16, 2015 at 8:49 am #11195
in the free version of the plugin the wiki custom post type is editable.June 16, 2015 at 7:40 pm #11239
Only custom post types will available for customization. Can you check with the author of wpmudev wiki, whether it uses custom post type.
You will need to know the capabilities CM Tooltip Glossary plugin uses to display items in the admin bar. Then remove those capabilities.
Can you share a screenshot of how it looks in the free version?
SyamJune 16, 2015 at 9:25 pm #11241June 16, 2015 at 9:47 pm #11243
Can you send me the wpmudev wiki plugin? I’ll test it in my local environment.
ThanksJune 16, 2015 at 10:26 pm #11246June 17, 2015 at 6:41 pm #11291
The wiki post type is not available for customization because it is already customized by the wiki plugin while it is created. Thats why you don’t see an entry for it within the settings page.
Even through the capabilities are customized, they are not attached to any roles, not even Administrator role. Usually when a plugin creates a custom capability, it will be attached to Administrator role, because Administrator role is supposed to have all the capabilities. User Role Editor finds capabilities by looking at the role objects. Since these new capabilities are not attached to any roles, it fails to find them.
Your best option is to manually create these capabilities using the “Add/Remove Cap” functionality. Below is the list of capabilities to be created. Make sure you add all these capabilities to the Administrator role.
In my next version I’ll add code to explicitly look for capabilities created by custom post types even if they are not attached to any roles.
Let me know if you have any questions.
SyamJune 20, 2015 at 6:11 am #11425June 20, 2015 at 9:50 am #11432
What is the error you are getting when you try to activate?
ThanksJune 20, 2015 at 11:00 am #11434
ERROR: License key activation limit reached
thanksJune 20, 2015 at 11:35 am #11435
Can you take a look into FAQ #3?
ThanksJune 20, 2015 at 12:53 pm #11438
Thanks a lot.
It perfectly worked.
- The topic ‘Custom Post Types’ is closed to new replies.