• Salih K

    (@salihkulangara)


    I have created a custom post type, say, ‘Challenge’. I have also created some new user roles, on of the user role is ‘evaluator’, this role has capabilities some what like default ‘Contributor’. The can submit for preview, the issue I am facing is, everything work fine until the Admin approves and publishes the post[from CPT Challenge], Once get published if I click on Menu ‘Challenge’ I dont have ‘All Challenges/Add New Challenge’ links underneath, and also on hover what we get that also missing. But If i Click on link ‘Dashboard’ and hover on link ‘Challenge’ there I will get Add New Challenge, I can add new challenge. I am Using ‘MEMBERS’ plugin to check and add Role capabilities, also i confirmed I have given all the privileges that the default ‘Contributor’ have through the plugin interface.

    While Creating Custom Post type I have defined Capabilites, and mapped. Then what I am doing wrong, which Capability my new custom role missing??

    One more thing if I add ‘edit_published_challenges’ cap to ‘evaluator’ role, every thing will work fine, but I dont wnat to do this, Once Editor or Admin approved, it should be blocked from editing by evaluator

  • The topic ‘Disappearing menu items in dashboard once the CPT post get published by Admin’ is closed to new replies.