Change Footer Text In Thesis WordPress Theme

January 7, 2011

development wordpress

Are you running Thesis and want to change the text in the footer? In this example we simply want to add a link to our WordPress hosting service at the bottom of a site with which we are using the Thesis WordPress theme. Go to the custom_functions.php file in your Thesis directory. The first line removes the Thesis attribution that is inserted by default. Then you want to add an action to catch the thesis_hook_footer hook. In that action you tell it a php function to call in your custom_functions.php file - in this case custom_footer. And inside the custom_footer function you insert the HTML you wish to show up in your footer... That's all! [code] remove_action('thesis_hook_footer', 'thesis_attribution'); add_action('thesis_hook_footer', 'custom_footer'); function custom_footer() { ?>

<

p>WordPress hosting by 48press <?php } [/code] Questions? Let us know in the comments!