How To Remove the Get Smart with Thesis Footer

by John Ankarström on May 28, 2009

in Design, Themes

Thesis doesn’t provide an option to change the footer. It should have, because it’s quite complicated to change it manually – at least for a new user of Thesis.

You have to edit the custom-functions.php file, in the ../wp-content/thesis-15/custom folder. Insert this code:

add_action('thesis_hook_footer', 'custom_footer');
function custom_footer() {
?>
    <p><strong>&copy; 2009 <?php bloginfo('name') ?></strong> | <a href="<?php bloginfo('url') ?>/about">About us</a> | <a href="<?php bloginfo('url') ?>/wp-admin">WordPress Admin</a></p>
    <p>Get smart with the <a href="http://diythemes.com/thesis/">Thesis WordPress Theme</a> from DIYthemes.</p>
<?php
}

remove_action('thesis_hook_footer', 'thesis_attribution');

Feel free to change the footer text, starting at line 4 and ending right before line 6. Just remember; don’t delete the Get Smart with Thesis, unless so have the Developer Version of Thesis.

Spread some love:
  • Digg
  • StumbleUpon
  • Tipd
  • del.icio.us
  • Twitter
  • Facebook
  • Tumblr
  • Ping.fm
  • Google Bookmarks
  • Technorati
  • E-mail this story to a friend!
  • RSS

{ 11 comments… read them below or add one }

1 J.Backlund May 28, 2009 at 7:38 pm

The possibility to use hooks and custom functions is just wonderful! You can edit the layout/design in the theme without touching the core files of the theme!

There’s a lot of other things you can do with custom functions and hooks.

Reply

2 Aaron July 2, 2009 at 8:19 am

How did you kill the Wordpress Admin link that typically follows the footer? Yes, the smiley.

Reply

3 William September 7, 2009 at 5:53 am

Hi,
If you use the Open-Hook plugin, you’ll find a checkbox (below the thesis_hook_footer field) that enables you to remove thesis attributions. Just check it and “little ass save” it…

W

Reply

4 Michelle September 27, 2009 at 6:59 pm

Have used the checkbox on Open-Hook plugin, but the “Wordpress Admin” is still showing! What to do next?!?!

Reply

5 scott November 16, 2009 at 4:55 am

Hey Michelle-
Dunno if you figured it out but in Thesis 1.6 there’s a checkbox for this:
Thesis Options>>Display Options>>Administration

-scott

Reply

6 Tinh October 29, 2009 at 4:35 pm

Thanks for great tip, I will try and report to you soon

Reply

7 Amitc87 November 16, 2009 at 4:25 pm

To delete the “Wordpress Admin” link in the footer, here’s how to do so:

1. Go to the thesis/lib/html/ folder.
2. Open footer.php for editing.
3. You will see “thesis_admin_link();” somewhere after “function thesis_footer() {”
4. Delete “thesis_admin_link()” and save the file. After that, if you refresh your site, you will see that “Wordpress Admin” is removed.

Reply

8 Mike November 19, 2009 at 10:39 pm

To reiterate Michelle and Aaron,

“how do you remove the ‘Wordpress Admin’ link? “

Reply

9 Mercedes-Benz Sydney December 2, 2009 at 3:43 am

Hi John,

This is one of the better explanations I’ve found for removing the Thesis attribution, however it didn’t work for me.

I have tried this about a dozen times now on one of my Thesis WP Blogs but without success yet.

I do have the Thesis Developer’s License. I have also tried pasting the line in several locations (restoring to the original after each unsuccessful attempt) and have cleared my cache and refreshed the page to check if the Thesis attribution is removed but it hasn’t worked.

Is there a specific line that I must paste the code into? Or is there another way to do this?

Thank you.

Reply

10 John Ankarström December 22, 2009 at 5:04 pm

Hm, it should work if you did what I did.
If you want to remove the footer without changing it, try this:
remove_action('thesis_hook_footer', 'thesis_attribution');
Add it in your custom-functions.php.

Reply

11 Heike February 8, 2010 at 6:57 pm

Go to “Thesis Options” and find “Administration” under “Display Options”. Tick the box “Show admin link in footer”

Reply

Leave a Comment

You can 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>

Previous post: WordPress Plugin: Broken Link Checker

Next post: WordPress 2.8 Release Date