title: Different WordPress front page for logged out and logged in users, excluding admin
body: <p>I've managed, with the help of the great content available on stackoverflow, to forward logged in users to a different page on my wordpress powered site. I would however like to exclude the admin role from this. Is this possible?</p>
  
  <pre><code>&lt;?php if(is_front_page()) { if (is_user_logged_in()) { $newURL = 'https://myurl.com/forwardloggedin';; header('Location: '.$newURL); } } ?&gt;
  </code></pre>