Hy,
I want to make a logout link for the logged in users.
I inserted this code to my template file:
<?php if ( is_user_logged_in() ) { echo "<a href=\"" . wp_logout_url( 'http://www.deependfx.com' ); ."\" title=\"Logout\">You are now logged in. Click here to log-out.</a> }; ?>
but I get an error:
Parse error: syntax error, unexpected '.'
What am I doing wrong?