Support Forum

Hide Log in and Register buttons

AO Alexander Olijnyk
Alexander Olijnyk
Member

Hi,

my website “http://blogmetohell.de” uses the Simple:Press forum plugin in version 5.4.1.

As I have chosen another log in / register option I would like to hide these buttons in my forum…I couldn´t find any option to do that…is there maybe a chance to hide the buttons with a div code?

alex

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Simple:Press is displayed using templates so to remove, change, add items it is just a matter of making edits to the relevant template.

In this case the template you need is spHead.php which is in the /templates folder of the SP theme you are using.

You will want to comment out or remove the following display template functions:

sp_LogInOutButton()
sp_RegisterButton()
sp_LoginForm()

and that should give you what you need.

As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)

AO Alexander Olijnyk
Alexander Olijnyk
Member

Perfect, that´s it! Thanks a lot for the quick help!