Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter daffulip

    (@daffulip)

    Solved it on my own. I am not sure whether this solution is the best, but I did it so:

    <?php global $userdata;
    get_currentuserinfo();
    if ($userdata->user_level == 10) {
    echo('<li>Ciao ' . $userdata->user_login . '</li>');
    echo('<li><a href="http://xxx/wp-admin/post.php">New entry</a></li>');
    echo('<li><a href="http://xxx/wp-admin/page-new.php">New page</a></li>');
    }
    ?>

    Bye!

Viewing 1 replies (of 1 total)