Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
At the moment when logged in I have buttons that switch between editing addresses and account details. But when logged out these buttons can still be seen, I have little coding experience outside of vb so would it be possible to make an if statement so that if a user is logged in the load the page with buttons else load the standard logging page. Even code that hides the buttons until a user is logged in would be fine.
Thank you
URL: https://www.xxivwatches.com/my-account/edit-address/billing/
Hi Hughes1208
Let’s try hiding the buttons in a very basic way using the following inserted at Appearance > Custom CSS:
/* Account */ #pg-53-0 { display: none; } .logged-in #pg-53-0 { display: block; }Let me know how it goes.