<?php
if (current_user_can('manage_options') ) {
echo "hoşgeldin admin.";
} else {
echo "giriş yapin";
?>

mantık yukarıdaki gibidir..