• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Startup Hero

The Official Blog Of Name Hero

Learn To Fly Above The Competition Get Started
  • HomeWelcome
  • CoursesVideo Training Center
  • About UsWhat is StartupHero?
  • BlogGet the latest
  • Start HereStartup 101
  • SpeakingPodcast & Media
  • ResourcesTools to help You
    • Reselling WordPress Hosting
    • Resell Hero
    • How To Start A Blog
  • NameHeroCloud Web Hosting

How To Remove Theme Footer Links In WordPress

By Bhagwad Park on July 30, 2018 3

How To Remove Theme Footer Links In WordPress

Most WordPress themes display their name with a link back to their site. Here’s an example:

Footer Credits in WordPress

It’s possible to remove these links. However, not all themes make it easy. In general, there are three types of themes with regard to footer links.

  1. Those like Genesis which explicitly have provisions to remove the links
  2. “Norma” themes with links in footer.php that we can easily remove via child themes
  3. Themes that really make it hard to remove links and force you to edit core parent theme files

If you’re lucky, your theme is either (1) or (2). If it’s (3), it’s a bit of a headache, but possible as I’ll show you here.

Note: For the code samples below, you need to know how to insert them. Here’s a tutorial on how to paste custom code into WordPress.

Theme Type 1: Removing Footer Links via  Filters

Theme frameworks like Genesis for example, explicitly give you provisions to customize or remove footer links. For example, Genesis exposes a filter called “genesis_footer_creds_text” from which it’s trivial to remove all footer credits. Just use the following code:

function remove_links_in_footer( $foot_links ) {
return '';
}
add_filter('genesis_footer_creds_text', 'remove_links_in_footer');

And you’re done! If you have another theme framework like Thesis, the filter name will be something else. Thesis, for example, uses the filter “thesis_show_footer”. Consult your framework documentation to see which filter you need, and then replace it in the code above.

Theme Type 2: Removing Footer Links in footer.php

In the second theme type, the links and credits are hard-coded into a file called “footer.php” in your theme. To remove it, we just need to remove these lines or comment them out.

Step 1: Create a Child Theme

But first, a warning. It’s not a good idea to directly edit your theme files. If you do this, your changes will be erased as soon as the theme creators release an update. Due to this reason, the standard method to change theme files is to create a “child theme”.

A “child theme” allows you to make changes that will not be erased when the parent theme is updated. Here’s a step by step tutorial on how to create a child theme.

Step 2: Copy the footer.php File into your Child Theme

To create a child theme, you just need to copy the “style.css” file from the parent theme. But now, copy the “footer.php” file into the child theme folder as well so that it resides alongside style.css. In the screenshot below, I’ve created a child of the theme named “Gridiculous” and here’s footer.php copied into the child folder:

Copy a footer php File in Child Theme

Now you can edit this footer.php file without worrying about an update to the parent theme. Go into footer.php, and isolate the lines that print the credits. Either delete them or surround them with HTML comment tags like this:

Comment Out Links in footer php

Save your changes, and the credit links would have vanished.

Theme Type 3: Directly Edit Code in the Parent Theme

If you’re unlucky, you’ll be stuck with a theme like Verbosa that neither provides filters to remove the footer links, not allows you to easily modify files via child themes. In fact, these types of themes are deliberately constructed to make it as hard as possible to remove these links.

For such themes, you have no choice but to dig into the theme code and find out where exactly it’s creating the links. For example, in the Verbosa theme there is a file called “core.php” in the “includes” folder that calls the action hook “cryout_master_footer_hook”. This is the code that spits out the footer links.

To remove them, we need to comment out the line calling the function with two slashes // like this:

Edit out the Code if it is Difficult

Only then will the links be removed. Creating a child theme won’t work. The risk now of course is that when these themes receive an update, your changes will be lost, and you’ll have to redo them all over. It’s up to you to decide if you want to continue using these themes with all the associated headaches!

These three methods should cover all the use case scenarios for removing theme footer links in WordPress. Each theme is slightly different, and the instructions will vary. But you should have enough of an idea of how to proceed after reading these general guidelines.

Bhagwad Park Profile Picture
Bhagwad Park

I’m a NameHero team member, and an expert on WordPress and web hosting. I’ve been in this industry since 2008. I’ve also developed apps on Android and have written extensive tutorials on managing Linux servers. You can contact me on my website WP-Tweaks.com!

Reader Interactions

Comments

  1. Phil says

    October 15, 2019 at 3:07 am

    Method two worked for me. I want to kiss you x

    Reply
    • Bhagwad Park says

      October 16, 2019 at 12:56 pm

      Glad to be of help 🙂

      Reply
  2. Sarah Hall says

    December 21, 2022 at 9:47 pm

    Still helping in 2022!

    Reply

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Connect With Us!

Superhero Resources

Fix Common Issues

  • How To Setup Free And Automatic SSL Certificates
  • How To Setup Cloudflare With Railgun
  • How To Fix Memory Exhausted Errors In WordPress
  • How To Edit PHP Version/Upload Limit/Add Extensions
  • How To Move/Migrate Your Business To Name Hero

Free Guides

  • How To Setup NameHero Hosting
  • How To Create A Web Hosting Business With WordPress
  • How To Start A WordPress Blog
  • How To Migrate WordPress To A VPS
  • How To Speed Test And Optimize Your WordPress Website
  • Magento 2.X Installation Guide
  • How To Clean Up A WordPress Hack

Training

Recent Posts

  • The Best WordPress Plugin To Combat Plagiarism
  • Is It Time to Bring Back Blog Comments?
  • Two Filters That No Longer Work In Gutenberg (And Workarounds)
  • Migrating To The New Cloudflare Managed Rules Interface
  • How To Sort Posts By The “Last Modified” Date
  • How To Make WordPress Send E-mail From Another Address
Subscribe in a reader
  • Web Hosting
  • WordPress Hosting
  • Reseller Hosting
  • VPS Hosting
  • Twitter
  • Facebook
  • LinkedIn
  • YouTube
  • FTC Disclosure
  • Earnings Disclosure
  • Privacy Policy

Copyright © 2023 · Smart Passive Income Pro on Genesis Framework · WordPress · Log in