Change WordPress user roles and capabilities Forums How to or FAQ Secure Contents by Taxonomy

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Vladimir 3 months, 4 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5733

    bhennings
    Participant

    Hi there,

    I control my content by automatically setting Taxonomy items to custom content types. With those taxonomy items, I would like to organise the role’s access to the content. This works partly, but I cannot seem to get the Role Editor to generally prevent access to content unless a role has access to it.

    In other words: How can I set content to be generally not visible unless it has a taxonomy item that the user role has specifically access to?

    Thanks for your help

    Bjoern

    #5734

    Vladimir
    Keymaster

    Hi Bjoern,

    In order to protect post from view we need to set view restrictions at the post level.
    Via user interface – open post for editing and select to which roles you allow to see its content at front-end.
    By program – set related post meta fields values according to your needs.

    View restrictions at the role level – allows to set more exact criteria, via selected taxonomies, for example.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.