title: Check if user role and in category?
body: <p>I am trying to create function for Wordpress which will...</p>
  
  <p><strong>Scenario 1</strong>
  is this post in Art Artist category...oh yes it is...than continue if...
  is this user checking the post from Art Artist category an Contributor...oh yes he/she is...continue...
  show him or her art_artist shortcode content</p>
  
  <p><strong>Scenario 2</strong>
  is this post in Art Artist category...oh yes it is...than continue if...
  is this user checking the post from Art Artist category an Contributor...oh no he/she is not...show him or her this...
  <strong>No bro!</strong></p>
  
  <p><strong>Scenario 3</strong>
  is this post in Art Artist category...oh no it is not...than continue whatever...</p>
  
  <p>Something like this...</p>
  
  <pre><code>&lt;?php
  $user = wp_get_current_user();
  
  if ((in_category('Art Artist')) &amp;&amp; in_array('contributor', (array)$user-&gt;roles))
  {
      echo do_shortcode('[art_artist]');
  }
  elseif ('is category art artist but is not contributor')
  {
      echo 'No bro!';
  }
  else
  {
      echo do_shortcode('[art_artist]');
  };
  ?&gt;
  </code></pre>