XF 1.2 How do i grab the login code to place on another page?

Fixxer

Member
Hey guys,


I have a couple of things i'd like to inquire about.

I was wondering how i can get the login/signup bar/code for xenforo, and place it on the rest of my website.
I have Wordpress merged with xenforo and it currently only displays the bar on the forums, but i'd like it to be global if possible.

Here's the bar i mean.
d6dab04b72.png

A bit clearer:
77c0aa8ab7.jpg



And also, in the same way, i'd like to know if possible how i could the exact same thing for this login/signup button too.

31345aab44.png



Any help much appreciated;
cheers.
 
The code from the sidebar is this:
Code:
<label for="LoginControl" id="SignupButton"><a href="{xen:link login}" class="inner">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase sign_up_now}, {xen:phrase log_in}}</a></label>
 
Embarassingly i'm a bit ametuer with this. How would i go about adding it in? I have my wordpress style.css but nothing seems to happen when i throw it in there.
 
After putting it in to a html box for wordpress, it gives me this;
(minus the blue ccc part)

bffee93344.png


I entered;

HTML:
<html>
<label for="LoginControl" id="SignupButton"><a href="{xen:link login}" class="inner">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase sign_up_now}, {xen:phrase log_in}}</a></label>
</html>
 
I had a look around and didn't find anything that allows or does this.

I have seen websites have this, but then other people say it's 'impossible',

Does anyone know anything about this?
 
Back
Top Bottom