• Resolved evillizard

    (@evillizard)


    I have some custom user roles i created

    How do i make only ppl with certain user-roles to be the only ones who can make posts??

    ..
    So that if a user is not among these user-roles….it would simply not allow this person to make a post…or maybe show a message or redirect to a page that says= sorry the user-role you are in is not allowed to create post

Viewing 1 replies (of 1 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help:

    As explained in the documentation, you can use the [usp_access] shortcode. For example:

    [usp_access cap="read" deny="sorry the user-role you are in is not allowed to create post"]
    
    Put the form shortcode here
    
    [/usp_access]

    You can find more infos about this here.

Viewing 1 replies (of 1 total)
  • The topic ‘Option only specific user-roles to be able to make posts’ is closed to new replies.