About if and echo adds
-
Hi All,
As you all know the little line as mentioned below is showing
the register option wherever you want.
” title=”Retrieve password”>Lost your password?Now i have made a bar at the top of the page and typed the IF statement as mentioned below.
If the user is logged in i dont want the wp_lostpassword_url to be shown, so therefor the echo ”;. ELSE if want it to be shown.
How can i fix this ?
<?php
if ( is_user_logged_in() ) {
echo ”;
} else {
echo ”;
?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘About if and echo adds’ is closed to new replies.