Support Forum

Remove hide logout button

WM William Mikell
William Mikell
Member

How can I remove or hide the login/logout button?

How can modify the url for the home link?

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

most display elements are controlled by template functions… you can move, delete, or modify them to customize your experience…

the ones you mention will be in the spHead template file of your sp theme…

for login/logout, just remove its display function:

            sp_LogInOutButton(‘tagClass=spButton spRight’, __sp(‘Log In’), __sp(‘Log Out’), __sp(‘Log in and log out’));

for the home link, just modify its url in the breadcrumbs template… see:  https://simple-press.com/documentation/codex/api/template-functions-and-the-api/display-template-functions/common-view/sp_breadcrumbs/

and change the home url to what you want…

as always, we strongly recommend you make your own them (https://simple-press.com/documentation/codex/themes/theme-basics/creating-a-theme/) or preferably, make a child theme (https://simple-press.com/documentation/codex/themes/theme-basics/creating-a-child-theme/) to keep from losing changes on updates….