Change thesis theme footer using custom hook

Thesis theme has a feature to edit many parts of the theme just by using custom hooks.

We can simple remove the previous hook and add a new one at the same place to have our custom code added there.

thesis hooks for footerThis tutorial explains how to add your own footer note to thesis 1.8 theme for wordpress by using thesis hooks without editing the core of the thesis framework.

We will be removing the text saying:

Get smart with the Thesis WordPress Theme from DIYthemes.

and replace it with:

© 2010 Nabtron.com – All rights reserved.

First goto custom file editor and open the file custom_functions.php to edit it.

In that file, simply add this code:

remove_action('thesis_hook_footer', 'thesis_attribution');
function add_custom_footer () {
?>
<p>© 2010 Nabtron.com – All rights reserved.</p>
<?php
}
add_action('thesis_hook_footer', 'add_custom_footer');

You can add any footer to the thesis footer hook to suit your needs while removing the default text.

6 comments on “Change thesis theme footer using custom hook

  1. remove_action('thesis_hook_footer', 'thesis_attribution');
    function add_custom_footer () {
    ?>
    © 2010 Nabtron.com – All rights reserved.
    <?php
    }
    add_action('thesis_hook_footer', 'add_custom_footer');

    I understand that this was written in 2010? it does not work for me. I did it only on 1 site and when I tried to implement it on other blog, I cannot remove this footer link. Both are newly made sites.

    1. i don’t think so (you should read their license terms to make sure)

      however, they are breaching wordpress license, so they can’t claim their licenses anyway,

  2. This code didn’t work for me either…I’m using Thesis 1.8.5…have things changed since you posted this? Thanks

Leave a Reply

Your email address will not be published.