Remove Footer Credit of the WordPress Theme Hestia

Remove Footer Credit of the WordPress Theme Hestia

Hestia is a feature rich, highly customizable, fully responsive and beautiful looking WordPress theme. It is offered in FREE as well as Premium version.

I have worked with the theme and created a blog of mine using this WordPress theme.

tThe theme Hestia offers a fully flexible and easy to work with theme which loads quite fast and is SEO friendly too.

The only thing I disliked about the theme is its footer credit which you do not get an option to remove and replace with your website copyright thing.

Remove Footer Credit of the Theme Hestia

After a lot of research and experimenting with the codes, finally, I found a way to remove theme’s footer credit and replace it with my site’s copyright line.

I assume that you have already installed the theme. So, here’s how I did it…

Step 1:

First of all, login to your website wp-admin and open editor by going into Appearence > Editor

Step 2:

After opening the editor, from right side, expand the folder called inc by clicking the small arrow ahead of it.

Appearance Editor Inc of the Theme Hestia

Step 3:

After going to inc folder, scroll down and click on template-tags.php

Step 4:

A editor window with template-tag.php will open, scroll down until you find the code as shown below (which you’ll find around the line 780).

Hestia code for editing footer credit

The image above includes the code:

$hestia_general_credits = get_theme_mod( 
'hestia_general_credits', 
sprintf( 
/* translators: %1$s is Theme Name, %2$s is WordPress */ 
esc_html__( '%1$s | Powered by %2$s', 'hestia' ), 
sprintf( 
/* translators: %s is Theme name */ 
'<a href="https://themeisle.com/themes/hestia/" target="_blank" rel="nofollow">%s</a>', 
esc_html__( 'Hestia', 'hestia' ) ), 
/* translators: %s is WordPress */ 
sprintf( 
'<a href="%1$s" rel="nofollow">%2$s</a>', 
esc_url( __( 'http://wordpress.org', 'hestia' ) ), 
esc_html__( 'WordPress', 'hestia' ) ) ) );

Step 5:

You can edit the code and get the desired result (if you know coding).

If you want to know what I did, then… I will show you what did I do.

(Please do not laugh, I’m not a coder 😉 )

$hestia_general_credits = get_theme_mod( 
'hestia_general_credits', 
sprintf( 
/* translators: %1$s is Theme Name, %2$s is WordPress */ 
esc_html__( 'Copyright &copy; 2018 | %2$s', 'hestia' ), 
sprintf( 
/* translators: %s is Theme name */ 
'<a href="http://yourwebsite.com/" target="_blank" rel="nofollow">%s</a>', 
esc_html__( 'YourWebsite', 'hestia' ) ), 
/* translators: %s is WordPress */ 
sprintf( 
'<a href="%1$s" rel="nofollow">%2$s</a>', 
esc_url( __( 'http://yourwebsite.com/', 'hestia' ) ), 
esc_html__( 'YourWebsite', 'hestia' ) ) ) );

I did as above which you can see in the image below:

Final code editing of the theme Hestia

Did it?

Voila!!!

You have now added the footer text that you wanted by removing the previous default footer credit of the WordPress theme Hestia.


Got any other better and easier solution?

Please let me and others know in the comment section below.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s