I need a button to appear when not loged in and another when logged in, I need help fixing code PLEASE!
I think one of the simplest way to achieve ( and perhaps not the better ) is to create a class ‘btn-hidden’ or similar, with display:none in the definition. Then, when you are in your template, control if user is logged in or not ( function is_user_logged_in() ) and if user is in one or … Read more