How to add footer links Manually

o add links to the footer in WordPress, you’ll need to edit the theme’s footer.php file. Here’s a basic example of how you can do it:

  1. Log in to your WordPress Dashboard.
  2. Navigate to “Appearance” and click on “Editor.”
  3. On the right-hand side, you’ll see a list of theme files. Look for “Footer” or “footer.php” and click on it to open the file in the code editor.
  4. Find the section in the footer.php file where you want to add the links. This can vary depending on your theme, but it is often found within a <footer> tag or a specific div with a class like “site-footer.”
  5. To add a link, use the HTML anchor tag (<a>) with the href attribute to specify the URL of the link and the anchor text to be displayed. For example:
<footer>
    <div class="footer-links">
        <ul>
            <li><a href="https://example.com/about">About Us</a></li>
            <li><a href="https://example.com/contact">Contact Us</a></li>
            <!-- Add more links as needed -->
        </ul>
    </div>
</footer>
  1. Customize the link URLs and anchor text as per your requirements.
  2. Once you have added the links, click the “Update File” button to save your changes.

Please note that directly editing theme files in the WordPress editor can be risky. If you make a mistake, it could break your website. It’s always a good practice to create a backup of your theme files before making any changes. Alternatively, you can use a child theme to make modifications, which is a safer approach as it preserves the original theme files.

Leave a Comment