Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter farmerisaac

    (@farmerisaac)

    Didn’t realize that I needed to specify the ” | ” as the separator for the various tags and categories. Seems silly that the default separator is a comma for everything else, but not tags and categories.

    Thread Starter farmerisaac

    (@farmerisaac)

    SOLVED

    I added the following code to my custom post type’s $args array.

    ‘capability_type’ => array(‘career’, ‘careers’),

    ‘map_meta_cap’ => true

    This made the Careers CPT appear in the sidebar and the inherited capabilities from the?Post?post type also appeared (with their proper CPT names). I tested it out and granted/denied permission as needed for the role, and it worked!

    Hopefully this helps anyone else having this issue.

    I solved my issue, so hopefully it helps you out as well. I added the following code to my custom post type’s $args array.

    ‘capability_type’ => array(‘career’, ‘careers’),

    ‘map_meta_cap’ => true

    This made the CPT appear in the sidebar and the inherited capabilities from the Post post type also appeared (with their proper CPT names). I tested it out and granted/denied permission as needed for the role, and it worked!

    I hope that fixes it for you as well!

    I am actually having an identical issue. I do not see my custom post type appearing on the left-hand sidebar when editing a role. Additionally, I thought that the CPT inherited from Post by default and would map for me. As an example, I thought that my Careers custom post type would automatically get the edit_careers (from edit_posts) capability and then I could tell the Members plugin to GRANT the edit_careers capability while restricting the role to a editing careers CPT but not regular posts or other CPTs. Am I missing something here?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)