• I add new custom post type and add for capability_type different than default value. When the added value that is different from that which is the default (), my custom post type is hidden from the admin menu. However, when I give value “post” for capability_type, custom post type is poyavayava again in the menu. How can you solve this problem.

    Here is the code with which I register custom post type.

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same here. In functions.php if I change ‘capability_type’ to anything other than ‘post’ then the custom post type dissappears from the admin menu. Is there a capability within the admin role that needs to be set aswell?

    Ok, the capabilities DO need to be added to the admin role manually aswell. Then the capabilities show in the other roles aswell. I used the ‘Members’ plugin which worked fine (Thx Justin).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom post type – capability_type problem’ is closed to new replies.