How to Filter the Genesis Footer Creds

Giving some credit back to whoever helped with your genesis child theme is just good courtesy, may it be the coffee that keeps you going, plug-in used on your site, or even a company, freelancer or friend that helped in coding and/or designing. A link leading back to them in the footer is a great way to say your thanks.

Or maybe you are a freelancer, or a company that works with genesis and you want to put your name on your work. That is fine too.

So how can you? Sure, you can remove the entire footer in genesis, but if all you want to do is change the credit links, this is the way to go.

Simply just add the following code to your functions.php file in your child theme:

add_filter('genesis_footer_creds_text', 'custom_footer_creds_text');
function custom_footer_creds_text($creds) {
 $creds = '[footer_copyright]' . get_bloginfo('name') . ' • Built on the [footer_genesis_link] powered by [footer_wordpress_link]';
 return  $creds;
}

The code above will output

© 2010 Your Site Name Here • Built on the Genesis Theme Framework powered by WordPress

To customize this more to your needs change the string in $creds to anything you want. Remember to give credit back to the guys over at Studiopress for their awesome Framework.

Comments

  1. says

    Thank you Christopher!

    This is the first website I did using Serenity and the footer text was impossible to find. I just popped your line in and Bingo! This was sooo helpful.

Trackbacks

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>