There are 2 links in the header template representing those two buttons, remove both and instead of those 2 codes, put $register there, then it will parse accordingly the proper button when a user/guest logs on to the site.
It did indeed a bit confusing, but it is quite logical.
[button1] [button2] = visual
<a href= ..> etc for both buttons = back-end code
replace both buttons,
because $register should be there,
and $register means: either button1 or button2, and will put the right code in the right place and will show therefor the right button.
|