• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Skip to footer navigation
  • Home
  • Facebook
  • Instagram
  • YouTube
Gaulard.com Logo

Gaulard.com

For Photographers, Designers, & Developers

  • About
  • Blog
    • Digital
      • Bridge
      • Camera Raw
      • Lightroom
      • Photography
      • Photoshop
      • Video
    • Business
    • Web
      • Blogging
      • Coding
      • Hosting
      • SEO
      • XenForo
      • Windows
      • WordPress
  • Forum
  • Contact
Home » Blog » Web » Add More Footer Links to My XenForo Site?

Add More Footer Links to My XenForo Site?

January 5, 2023By Jay GaulardLeave a Comment|Posted Under: Web Tagged With: XenForo

Question: Like everyone else who installs XenForo forum software, I see a set group of footer links down at the bottom of my website. Here’s what they look like. I changed the phrases for some of them, so they’re not totally default, but I haven’t added or removed any of the links.

Would you like to follow me on social media? Facebook • Instagram • Twitter
XenForo Footer Links
XenForo Footer Links

I was thinking about adding some additional links to this list, but I can’t seem to figure out how to do it. There are no easy settings to change in the admin. I’d like one link to go to my blog and maybe add a few others later on. Does anyone know how to add links to the footer of a XenForo forum?

Answer: Yes, you can add links to this list, but you’ll have to code them into one of the templates. Log into your admin panel and then browse to Appearance > Templates > PAGE_CONTAINER. Then, do a search for this code:

<ul class="p-footer-linkList">

At the time of this writing, there are two instances of this code. You’re looking for the list of links that are located after the second instance. Here’s the code you’ll find:

Code:

<ul class="p-footer-linkList">
                    <xf:if is="$xf.visitor.canUseContactForm()">
                        <xf:if is="$xf.contactUrl">
                            <li><a href="{$xf.contactUrl}" data-xf-click="{{ ($xf.options.contactUrl.overlay OR $xf.options.contactUrl.type == 'default') ? 'overlay' : '' }}">{{ phrase('contact_us') }}</a></li>
                        </xf:if>
                    </xf:if>

                    <xf:if is="$xf.tosUrl">
                        <li><a href="{$xf.tosUrl}">{{ phrase('terms_and_rules') }}</a></li>
                    </xf:if>

                    <xf:if is="$xf.privacyPolicyUrl">
                        <li><a href="{$xf.privacyPolicyUrl}">{{ phrase('privacy_policy') }}</a></li>
                    </xf:if>

                    <xf:if is="$xf.helpPageCount">
                        <li><a href="{{ link('help') }}">{{ phrase('help') }}</a></li>
                    </xf:if>

                    <xf:if is="$xf.homePageUrl">
                        <li><a href="{$xf.homePageUrl}">{{ phrase('home') }}</a></li>
                    </xf:if>

                    <li><a href="{{ link('forums/index.rss', '-') }}" target="_blank" class="p-footer-rssLink" title="{{ phrase('rss')|for_attr }}"><span aria-hidden="true"><xf:fa icon="fa-rss" /><span class="u-srOnly">{{ phrase('rss') }}</span></span></a></li>
                </ul>

To add, say, a link in this list to your blog, you’d want to insert something like this someplace in this list:

See also  Using Sublime Text

<li><a href="https://yourwebsite.com/blog/">Blog</a></li>

After you format that sample code for your own uses and place it in with the other code, just save the template and take a look at your footer links on the outside of your site. The blog one should be added.

Related posts:

  1. XenForo: How to Remove RSS Feeds
  2. XenForo: How to Remove Member & Attachment Links
  3. How to Change XenForo Heading Colors​
  4. Structure of an HTML Web Page

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Connect With Me

  • Email
  • Facebook
  • Instagram
  • Twitter
  • YouTube

Blog Categories

  • Business (1)
  • Digital (42)
  • Web (32)

Tags

Blogging Bridge Camera Raw Coding Hosting Lightroom Photography Photoshop SEO Video Windows WordPress XenForo

Recent Blog Posts

  • Photoshop Tools Panel & Options Bar Features
  • How to Expand & Collapse Panels in Photoshop
  • How to Group, Dock, Undock, & Hide Panels in Photoshop
  • How To Adjust a Camera Diopter
  • How Can I Set Up Lighting For Great Studio Portrait Photographs?

Most Popular Blog Posts

Recent Comments

  • Jody on How To Adjust a Camera Diopter
  • Jay Gaulard on How to Set Electronic Level on Canon T6i (or Any Rebel Camera)
  • Wendy on How to Set Electronic Level on Canon T6i (or Any Rebel Camera)
  • Kody on Technical SEO Case Study: Why Do Website Rankings Keep Dropping?
  • Jay Gaulard on How to Adjust the Mouse Click & Scroll Settings in Windows 10

Footer

About Me

I'm a guy who likes to build things. I'm not a professional and I'm not an agency. I don't charge people thousands of dollars a month to do something they can do themselves. My primary goal is to help people build things too. And beleive me, I've got a long history of helping people.
Read More

Contact Me

Have you finished exploring my website? Would you like to get in touch? Please do! I love meeting new people. You can also follow me on: Facebook Instagram YouTube

Posts by Email

Would you like to receive my most recent blog posts delivered right to your email box? If so, simply type your email address below and click the button.

Copyright © 2023

  • Home
  • About
  • Blog
  • Privacy & Terms
  • Sitemap
  • XML Sitemap
  • HTML Sitemap
  • Write for Us