Forums

[closed] Welcome note on front page (2 posts)

  1. simonpeterong
    Member
    Posted 4 years ago #

    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.

  2. moshu
    Member
    Posted 4 years ago #

    Keep it in the original thread:
    http://wordpress.org/support/topic/159465?replies=2

Topic Closed

This topic has been closed to new replies.

About this Topic