you want the login/out to disapear after you are logged in?
Thread Starter
m3tsys
(@m3tsys)
No, i want it to remain there, but change to Log out when i’m logged in and Log in when i’m logged out
Excuse me for my bad english, but i’m not a native english speaker.
Thanks in advance.
I do not use this code, so I am a little confused. Can I ask this first…if you log in from the side bar, does it work?
If it does work, can you click a button ON THE SIDE BAR to log out?
Thread Starter
m3tsys
(@m3tsys)
yes it works (when i’m on /blog/ ) but you need to have in mind that
http://example.com/blog/ is an wordpress instalation
and
http://example.com/about-us/ a simple php file with
that wp header include and that wp login code.
would you mind sharing your site URL?
Thread Starter
m3tsys
(@m3tsys)
PS: <?php wp_loginout(); ?> is the code from default sidebar.php
Thread Starter
m3tsys
(@m3tsys)
the site is not online, it’s on localhost (it’s not done yet, i am still working on it.)