• Resolved MatrixMedia

    (@matrixmedia)


    Hi,
    I have problems with the Capabilities of the Post Type module.

    If in the text field “Capability type”

    m7xposition
    m7xpositions

    and “Capabilities”,

    edit_post : edit_m7xposition
    read_post : read_m7xposition
    delete_post : delete_m7xposition
    edit_posts : edit_m7xpositions
    edit_others_posts : edit_others_m7xpositions
    publish_posts : publish_m7xpositions
    read_private_posts : read_private_m7xpositions
    create_posts : edit_m7xpositions

    I enter my personalization, nothing changes for my user.

    Of course, I removed and added the custom capabilities to my user role, which I needed.

    Even if I set everything by default and remove “post” from “Capability type”, I still can edit the posts of my CPT.

    it’s normal?

    thank you
    Greetings`

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    The Post Types Capabilities can be tough to setup. Since the ACF Extended Post Types module is just an UI that use the native WP register_post_type() behind the scene, I would recommend to first register your post type in PHP and try to make it work with your capabilities setup.

    Then once it works as expected, use the ACF Extended Post Type module to register it correctly from the UI.

    Hope it helps!

    Have a nice day!

    Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Post Type Capability it does not work’ is closed to new replies.