WordPress.org

Forums

Vantage
Change Login and Register after Logged in (4 posts)

  1. TechnoWolf1
    Member
    Posted 1 year ago #

  2. TechnoWolf1
    Member
    Posted 1 year ago #

    <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>
  3. TechnoWolf1
    Member
    Posted 1 year ago #

    How?

  4. Sho-Down
    Member
    Posted 1 year ago #

    Read about if else statements

    <?php
    if ( is_user_logged_in() ) {
        echo 'Welcome, registered user!';
    } else {
        echo 'Welcome, visitor!';
    }
    ?>

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic