Change WordPress user roles and capabilities Forums How to or FAQ Restricting Custom Post Type Access and Page restrictions

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5956
    LoneWolf95665
    Participant

    Please forgive me in advance if I was to create a new topic but this “is” involving custom post type restrictions. I have the following CPT’s.

    /Consumer
    /MGA
    /Insurance-company-retail
    /insurance-company-wholesale
    /retail-agent

    For example, I need to restrict content and pages from the Consumer. The consumer does not have access to the custom post type “mga” nor to “insurance-company-retail” The slug would be “mga”

    I am using geodirectory plugin directory and add ons.

    Thank you for your assistance.

    #5961
    Vladimir
    Keymaster

    If all your CPTs are protected by ‘edit_posts’, you can force them to use their own capabilities, look for the special checkbox at the Settings->URE->Additional Modules. Then do not grant edit_mgas and edit_insuarance-company-retails to consumer role.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.