Menu

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.

Short link: http://goo.gl/XdYgn
Avatar of Christopher About Christopher

Dabbler of anything web/tech/design/music. Senior Designer at webdevstudios.com

Follow me on twitter @tweetsfromchris

Comments

  1. 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.

  2. nice post ,
    I have tried my blog.
    It works awesome.

  3. Thanks for a really clear explanation. It worked perfectly!

Trackbacks

  1. [...] Changing “Return to Top of the Page” text in the footer. Giving Credit Where Credit Is Due [...]

Speak Your Mind

*