Support » Plugins » Hiden theme switcher from readers

  • Resolved Tri-Fusion

    (@tri-fusion)


    Is it possible to show theme switcher for admin only? Admin must login in order to see drop down theme switcher.

    Thanks

Viewing 1 replies (of 1 total)
  • There may be a better way to do it, but see if this works:

    <?php global $userdata;
    get_currentuserinfo();
    if ($userdata->user_level == 10) { ?>
    
    Theme switcher template tag goes here
    
    <?php } ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Hiden theme switcher from readers’ is closed to new replies.