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

    (@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>
    Thread Starter TechnoWolf1

    (@technowolf1)

    How?

    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.