• Hi

    In my sidebar I want to have a logout link and have installed the PHP Tet Widget plugin.

    I Have added the following code and it isn’t working.

    What am I doing wrong?

    <?php

    if ( is_user_logged_in() )
    {
    print (“Logout“);
    }
    ?>

  • The topic ‘PHP Text Widget’ is closed to new replies.