WordPress.org

Support

Support » Themes and Templates » Change Login and Register after Logged in

Change Login and Register after Logged in

Viewing 3 replies - 1 through 3 (of 3 total)
  • TechnoWolf1
    Member

    @technowolf1

    <a href="http://www.technowolf.com/wp-login.php"><img src="http://www.technowolf.com/wp-content/uploads/2014/02/LoginButton1.png" alt="" title="Login" width="58" height="27" class="alignone size-full wp-image-862" /></a> 
    
    <a href="http://www.technowolf.com/wp-login.php?action=registe"><img src="http://www.technowolf.com/wp-content/uploads/2014/02/RegisterButton1.png" alt="" title="Register" width="58" height="27" class="alignone size-full wp-image-862" /></a>
    TechnoWolf1
    Member

    @technowolf1

    How?

    Sho-Down
    Participant

    @sho-down

    Read about if else statements

    <?php
    if ( is_user_logged_in() ) {
        echo 'Welcome, registered user!';
    } else {
        echo 'Welcome, visitor!';
    }
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Login and Register after Logged in’ is closed to new replies.