Dynamic Orange Login / Logout Button on Top Red Bar
I am trying to create an orange login / logout button beside the Post an Ad button.
I know CSS and HTML, my problems is understanding the PHP scripting.
I've been editing the header.php page for a few days and it's driving me bunkers.
The button should function as follows:
If the user is not logged in --- Show only Login Button
If the user is logged in --- Show only Logout Button.
Could someone pls show me how to do this. Tnx for your help.