Different pages loading based on what their logging status is
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/
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1Hi 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.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.