Skip to content

Hack WordPress Footer

  • Web

How to change the WordPress footer text, even if your theme does not want to let you. This article is about the Neve theme, but the system will work on all themes.

Some “Free” WordPress themes lock some parts like the Footer to get you on a paid plan. However, I don’s like to pay for just editing the footer text and not displaying your company’s name.

From your dashboard, open Appearance->Theme editor (NL: Weergave->Thema bestand editor).

Using the right filebar, navigate to: header-footer-grid/Core/Builder/Footer.php.

Edit this file adding 2 lines for the copyright date (startyear website and current year) and changing the footer text:

$copyYear = 1999; // Set your website start date
$curYear = date('Y'); // Keeps the second year updated
$output .= sprintf(
   /* translators: %1$s is Theme Name ( Neve ), %2$s is WordPress */
   /* back-up original line: esc_html__( '%1$s | Powered by %2$s', 'neve' ), */
   esc_html__( '© '.$copyYear.'-'.$curYear.' DeGraafOnline'),
   wp_kses_post( '<p><a href="https://themeisle.com/themes/neve/" rel="nofollow">Neve</a>' ),
   wp_kses_post( '<a href="http://wordpress.org" rel="nofollow">WordPress</a></p>' )
);

Save your changes using the Update button at the bottom, and your new footer will show after refreshing a website page.

Leave a Reply

Your email address will not be published.