Support » Themes and Templates » Welcome note on front page

  • simonpeterong

    (@simonpeterong)


    Hi, I recently posted a question here regarding having a welcome note sort of like this:

    Welcome Guest! Login | Register

    and have it changed after a member signed in sort of like this:

    Welcome Username! Go to admin panel | Logout

    I remember somebody replied by posting a link to the thread which indeed answered my question. But when I checked yesterday, my post was gone, so I tried searching the other thread and it too was lost…

    If I were to use this code:

    <?php if ($user_level > 0): ?>Welcome, <?php echo $user_nickname; ?>! /wp-admin/profile.php” title=”View your profile”>View your profile » (/wp-login.php?action=logout” title=”Logout”>Logout)<?php endif; ?>

    it will only show up for members who are logged in but it won’t be seen by those who are not.

    Maybe it would be best for me to open this topic up once more because it is one of the best tips I’ve read here…

    Thanks for the help.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Welcome note on front page’ is closed to new replies.