Tagged: custom post type
- This topic has 11 replies, 2 voices, and was last updated 9 years, 6 months ago by Elena Rapisardi.
-
AuthorPosts
-
June 16, 2015 at 8:37 am #11194Elena RapisardiParticipant
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.
Any suggestion?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?Thanks
June 16, 2015 at 8:49 am #11195Elena RapisardiParticipantin the free version of the plugin the wiki custom post type is editable.
June 16, 2015 at 7:40 pm #11239Syam MohanKeymasterHi Elena,
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?
Thanks
Syam
June 16, 2015 at 9:25 pm #11241Elena RapisardiParticipantThis reply has been marked as private.June 16, 2015 at 9:47 pm #11243Syam MohanKeymasterHi Elena,
Can you send me the wpmudev wiki plugin? I’ll test it in my local environment.
Thanks
June 16, 2015 at 10:26 pm #11246Elena RapisardiParticipantThis reply has been marked as private.June 17, 2015 at 6:41 pm #11291Syam MohanKeymasterHi Elena,
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.
publish_wikis
edit_wikis
delete_wikis
edit_published_wikis
delete_published_wikis
edit_others_wikis
delete_others_wikis
read_private_wikis
edit_private_wikis
delete_private_wikisIn 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.
Thanks
Syam
June 20, 2015 at 6:11 am #11425Elena RapisardiParticipantThis reply has been marked as private.June 20, 2015 at 9:50 am #11432Syam MohanKeymasterWhat is the error you are getting when you try to activate?
Thanks
June 20, 2015 at 11:00 am #11434Elena RapisardiParticipantERROR: License key activation limit reached
thanks
June 20, 2015 at 11:35 am #11435Syam MohanKeymasterCan you take a look into FAQ #3?
Thanks
June 20, 2015 at 12:53 pm #11438Elena RapisardiParticipantThanks a lot.
It perfectly worked. -
AuthorPosts
- The topic ‘Custom Post Types’ is closed to new replies.