Hi guys. I am in need of a single script that will give me two different links. If I am logged-in in, it will show LOGOUT, and if I am logged out it will show LOGIN.
Thanks very much!
Banago
Hi guys. I am in need of a single script that will give me two different links. If I am logged-in in, it will show LOGOUT, and if I am logged out it will show LOGIN.
Thanks very much!
Banago
Have you looked at the wp_loginout template tag?
The WordPress Default theme has an example of that in the sidebar.php file.
This topic has been closed to new replies.