Simple Way To Customize Copyright Footer In Thesis Theme

by Bey Luen on January 28, 2009

in WordPress

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 &copy 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.

Customize Thesis 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:

  1. Best Way To Remove Footer Link In Thesis Theme
  2. How To Add Logo In Thesis Theme Header
  3. Customizing Thesis Theme 404 Error Page
  4. How To Add Custom Background Image In Thesis Theme?
  5. How To Change Background Color In Thesis Theme?

If you enjoyed this post, I would be very grateful if you leave a quick comment below or subscribe via email or RSS or follow me on Twitter. Don't miss out on new blogging tips and online business tips! - Bey Luen

{ 7 trackbacks }

Wordpress Thesis Theme – “Xấu giai” nhưng nổi tiếng | GIẢI PHÁP SỐ
June 27, 2009 at 1:38 am
List of Wordpress Thesis Theme Tutorials, Tips and Hacks - EzyBlogger
July 17, 2009 at 11:13 pm
List of Wordpress Thesis Theme Tutorials, Tips and Hacks | Choose 4 Me
August 1, 2009 at 9:31 am
Wordpress Thesis Theme – “Xấu giai” nhưng nổi tiếng | TinhYeu.Mobi
September 27, 2009 at 9:30 am
250+ Thesis Theme Resources | Sahil Kotak dot Com
December 9, 2009 at 3:27 am
Wordpress Thesis 1.6 Released!
January 30, 2010 at 7:46 am
How To Add Logo In Thesis Theme Header
February 15, 2010 at 12:24 am

{ 18 comments… read them below or add one }

1 StevenBullen February 15, 2009 at 11:35 am

On point #4 you have “customer_functions.php” instead of “custom_functions.php”.

Reply

2 Bey Luen February 15, 2009 at 11:56 am

@Steven,
Thanks for pointing out. I’ve corrected the error.

Reply

3 Kevin Brady March 9, 2009 at 7:44 pm

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.

Reply

4 Bey Luen March 9, 2009 at 8:52 pm

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

Reply

5 Shahid July 7, 2009 at 6:37 pm

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 &copy 2009 <a href=”">. All rights reserved.
<?php
}

Reply

6 Free Blogger Templates l WordPress Themes July 15, 2009 at 12:55 am

Thank for this post

Reply

7 Shanna July 17, 2009 at 5:14 am

The annoying google search result highlights make your page unreadable. Why would you add that?

Reply

8 John Bowers July 21, 2009 at 10:04 am

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.

Reply

9 John September 11, 2009 at 8:26 am

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

Reply

10 John September 11, 2009 at 8:31 am

Oh, and I bought the developer version so that shouldn’t be the problem.

-J

Reply

11 Benito September 19, 2009 at 12:21 pm

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 &copy <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!

Reply

12 Benito September 19, 2009 at 12:23 pm

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 &copy <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!

Reply

13 Benito September 19, 2009 at 12:29 pm

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 &copy [?php echo date("Y"); ?] [a href="<?php bloginfo('url'); ?]“][?php bloginfo('name'); ?][/a]. All rights reserved.[/p][br/]
[?php
}

Reply

14 Jeff October 9, 2009 at 10:51 am

I tried this out, seems simple enough but the custom footer doesn’t appear and the same thing continues to show up.

Reply

15 maynard November 13, 2009 at 9:00 pm

Thank you so much!. It saves me a lot of time customizing my website.

Reply

16 simon November 22, 2009 at 10:15 pm

I agree about the highlights really annoying as its making your post hard to read.

Reply

17 Jamey Prezzi December 17, 2009 at 3:53 am

I don’t know what I was having such an issue with this……… finally I figured it out with your directions! Thanks!!

Reply

18 Portable Solar Panels February 18, 2010 at 10:02 am

Nice….thanks. Thesis Tutorial is very confusing.

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:

Next post: