XF 2.2 Question

JulioTXX

New member
Ok on my website when i click the discord button it opens another tab of my website how do i make it so when they click that discord icon it send thems to my discord invite.
 

DarkGizmo

Well-known member
depending on what theme you have, you should have a section for social icons, there you should see something like:
Code:
<li id='discord'><a href="#"></a></li>

where the "#" is, you'd put the URL to your invite code.
 

JulioTXX

New member
depending on what theme you have, you should have a section for social icons, there you should see something like:
Code:
<li id='discord'><a href="#"></a></li>

where the "#" is, you'd put the URL to your invite code.
i have this line on my theme <li><a href='#discordapp.com' target='_blank'></a></li>
how can i put it on this line
 

DarkGizmo

Well-known member
i have this line on my theme <li><a href='#discordapp.com' target='_blank'></a></li>
how can i put it on this line
What is your invite code URL? You would put the invite URL code where the text is.

Code:
<li><a href='PUTYOURDISCORDINVITELINKHERE' target='_blank'></a></li>

So example of a working code would look like:
Code:
<li><a href='https://discord.gg/X4gNThu' target='_blank'></a></li>

I used my Discord server as an example.​
 
Top