Restrict content on a page/post to specific users community role

Ultimate member allows you to show or hide content to specific users community role. You can do this by wrapping the content with the following shortcodes:

Show content to specific roles

   [um_show_content roles='member'] <!-- insert content here --> [/um_show_content]

 You can add multiple target roles, just use ',' e.g.  [um_show_content roles='member,candidates,pets']

Hide content from specific roles

     [um_show_content not='member'] <!-- insert content here --> [/um_show_content]

You can add multiple target roles, just use ',' e.g.  [um_show_content roles='member,candidates,pets']

What the specific role see

The restricted content on the page/post is hidden to the other community roles and see nothing on the page/post to indicate that there is content they cannot see.