WordPress Genesis theme modify copyright footer

Here is how to modify copyright footer in WordPress Genesis theme.

As you know any modifications you would like to make in the genesis them you have to do it through either a add/remove hook or a filter. So here is the deal with the credit text such as: 2019 © All rights reserved.

is added usually by the hook called: genesis_do_footer()

at least in the Genesis parent theme, or it could be re-hooked somewhere else if you are using a child theme, but generally this is what you would look for.

In the Genesis parent theme you can check out the function inside footer.phpfile. the line we are interested is the one with the $creds_textvariable. A few lines below you can see a filter is being applied here: apply_filters( 'genesis_footer_creds_text', $creds_text ).

It’s enough for us to override this filter in our themes functions.phpfile.

Solution

If you want to override it:

// Change the footer copyright text
function PREFIX_footer_creds_filter( $creds ) {
	$creds = 'Add any text here'; // Feel free to use shortcodes
	return $creds;
}
add_filter('genesis_footer_creds_text', 'PREFIX_footer_creds_filter');

If you want it empty just return and empty string.

If you need to override the hole footer or even want the wrapper divs gone, created your own footer generating function, using the original genesis function genesis_do_footer()and leave out the line that outputs $creds_text.

If for some reason you are having trouble locating any hooks or filter check out the Genesis visual hook guide plugin.

I hope this helped. Cheers, Lehel.