Thesis will never cease to amaze designers with its unparalleled ease of use. One of the few customizations that many people want is a custom footer. Unfortunately, there is no way to change the footer content in Thesis Options or Design Options. So, lucky for you, I can show you exactly how to accomplish your own custom footer.
- Follow the first 5 steps of this post.
- After all the text, space a line or two and stick in the following:
remove_action('thesis_hook_footer', 'thesis_attribution'); function my_custom_footer() { ?> Whatever you want to say goes here. Hint: use p tags. <?php } add_action('thesis_hook_footer', 'my_custom_footer');
Did you see how freaking easy that was? Let me quickly break down what you just did.
First, we removed the default content of the footer by putting this in custom_functions.php:
remove_action('thesis_hook_footer', 'thesis_attribution');Second, we declared a new function that will determine the new footer content by adding this:
function my_custom_footer() {
?>
Whatever you want to say goes here.
<?php
}Lastly, we told Thesis to put the new footer content into the footer by writing this:
add_action('thesis_hook_footer', 'my_custom_footer');Using Thesis is the easiest and most effective way to start and maintain a website. Good luck and happy coding ![]()
{ 8 comments… read them below or add one }
Thank you again, very nice tutorials… by the way I think you forgot to put the underline between remove and action (remove action… remove_action) at the highlighted code and somebody might just copy and paste the code without the underline and it might not work.
All the best
@Fatos
Hmm. It is definitely there.
Thanks Matt, this was exactly what I was looking for, you saved me a ton of time.
I did that. The Thesis attribution is gone, but the new content doesn’t show up and the Wordpress label is still there. ??
@Dee
The Wordpress Link is controlled under Design Options -> Display Options -> Administration. I’ll need to see your site in order to help you out further.
Excellent tutorial! Changed it in two minutes!
Success!
Please explaing what a p tag is ….Hint: use p tags.
Thank you for the wonderful step by step tutorials
My website is under reconstruction.
I would love to know how to fill the header with image. Example http://www.hebronelks.com