In previous blog post, I’ve shown you how to remove the attribution link in Thesis Theme. Today I’m going to show you how to customize copyright footer in Thesis Theme as you might already notice that many blogs are showing their corresponding copyright footer.
3 Steps To Customize Footer In Thesis Theme
In the following section, I’m going to teach you footer customization technique using hook function in Thesis Theme. Please refer to tutorial guide for more details about hook function in Thesis Theme.
#1: Open custom_functions.php
You can open the custom_functions.php file using any text editor. I’m using Notepad++. The file is located at thesiscustom folder. This file is specially created for you to customize the theme easily using hook without modifying core engine or file.
#2 Adding Footer Action Hook
Add the following line of code just below <?php in the file. What is does is adding a hook function custom_footer to the thesis_hook_footer section.
add_action('thesis_hook_footer', 'custom_footer');
#3 Creating Footer Function
Add the following code just below the add_action shown in step 2. It is adding “Copyright @ 2009 Your Blog Name. All rights reserved.” to the footer of your blog. And “Your Blog Name” is hyperlinked and is taken from the settings you’ve saved in WordPress. You are free to change the code or description here if you’re not satisfied.
function custom_footer() {
?>
<p>Copyright © 2009 <a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a>. All rights reserved.</p><br/>
<?php
}
You can see the copyright footer for this blog in the screenshot below. I’m using same technique to customize the footer.

#4: Upload custom_functions.php
Finally upload custom_functions.php to your web server using FTP client. Now type in the URL in your browser and you should be able to see customized footer. If you’re not satisfied, modify the code again and upload to your server until you’re happy!
Conclusion
Although changing footer is not too difficult for a develop like me. But it will kill if somebody don’t know about HTML, PHP and CSS. I really hope it can have simple way too add customized footer in the options page.
Related Posts:





{ 7 trackbacks }
{ 18 comments… read them below or add one }
On point #4 you have “customer_functions.php” instead of “custom_functions.php”.
@Steven,
Thanks for pointing out. I’ve corrected the error.
Big thanks for this. Great blog. Very limited amount of stuff on the internet about how to configure Thesis. I have found the Thesis tutorials a little confusing and not very helpful. I am very very thankful for the help today and I now have a rss feed for your blog.
@Kevin,
Thanks for your great comment. It will help me to continue provide great content. Please let me know if you like to read any particular topic.
It isn’t working for me. Infact no custom function is working for me. Please tell me what can be the problem. I’ll copy my custom functions file here :
<a rel=”nofollow” href=”http://delicious.com/save?url=&title=” onclick=”window.open(‘http://delicious.com/save?v=5&noui&jump=close&url=&title=’, ‘delicious’, ‘toolbar=no,width=550,height=550′); return false;” title=”Bookmark this post on del.icio.us”>Bookmark this article on Delicious
Copyright © 2009 <a href=”">. All rights reserved.
<?php
}
Thank for this post
The annoying google search result highlights make your page unreadable. Why would you add that?
Thank you! I was having trouble using the footer script box in Thesis options – it showed too big in Explorer. This solved my headache. Congrats & good luck to you.
Hey, thank – this worked.
However, the first line “Get smart with the Thesis WordPress Theme from DIYthemes.” is still there. Does this have a different hook?
If so, what is it?
Thanks,
John
Oh, and I bought the developer version so that shouldn’t be the problem.
-J
Awesome post! For those of you who are likely to forget to update the “Copyright 2009″ in the footer each year, i’ve modified the code a bit as follows:
function custom_footer() {
?>
Copyright © <a href="">. All rights reserved.
<?php
}
This way, the “2009″ will automatically update each year. Just something I always remember to update on my websites!
Awesome post! For those of you who are likely to forget to update the “Copyright 2009″ in the footer each year, i’ve modified the code a bit as follows:
function custom_footer() {
? >
Copyright © <a href="">. All rights reserved.
< ? php
}
This way, the “2009″ will automatically update each year. Just something I always remember to update on my websites!
ahh.. the php code is being stripped when I try and submit. Sorry to the admin for the multiple posts…
Here is what I’ve been trying to say with square brackets instead….
For those of you who are likely to forget to update the “Copyright 2009″ in the footer each year, i’ve modified the code a bit as follows: (don’t forget to swap the [square brackets] out for angled ones)
function custom_footer() {
?]
[p]Copyright © [?php echo date("Y"); ?] [a href="<?php bloginfo('url'); ?]“][?php bloginfo('name'); ?][/a]. All rights reserved.[/p][br/]
[?php
}
I tried this out, seems simple enough but the custom footer doesn’t appear and the same thing continues to show up.
Thank you so much!. It saves me a lot of time customizing my website.
I agree about the highlights really annoying as its making your post hard to read.
I don’t know what I was having such an issue with this……… finally I figured it out with your directions! Thanks!!
Nice….thanks. Thesis Tutorial is very confusing.