1. <?php
  2. function bphelp_use_different_stylesheets() {
  3. if ( is_user_logged_in() ) {
  4. ?>
  5. <link rel=&quot;stylesheet&quot; href=&quot;"/home.css
  6. type="text/css" media="screen" />
  7. else{
  8. <link rel=&quot;stylesheet&quot; href=&quot;"
  9. type="text/css" media="screen" />
  10. }
  11. <?php
  12. }
  13. }
  14. add_action ('bp_head', 'bphelp_use_different_stylesheets');
  15. ?>