Customize the Footer

Applies to Version(s): Thesis 1

IMPORTANT: Unless you have purchased the Developer’s Option, you must leave the attribution link and its wording intact. In other words, the following code must appear in your footer AS IS:

<a href="http://diythemes.com/thesis/">Thesis WordPress Theme</a>

Remove Thesis Attribution

Place this code in custom_functions.php:

remove_action('thesis_hook_footer', 'thesis_attribution');

Place this code in custom_functions.php:

function copyright() {
		echo '<p>Copyright &copy; 2008&ndash;' . date('Y') . '</p>';
}
add_action('thesis_hook_footer', 'copyright', '99');

Place Admin Link on Same Line as Attribution

Place this code in custom_functions.php:

function my_footer() {
	echo '<p>Get smart with the <a href="http://diythemes.com/thesis/">Thesis WordPress Theme</a> from DIYthemes. ';
	wp_loginout();
	echo '</p>';
}
remove_action('thesis_hook_footer', 'thesis_attribution');
add_action('thesis_hook_footer', 'my_footer');

Display Category List

Place this code in custom_functions.php:

function footer_cats() {
echo '<ul>';
wp_list_categories('title_li=');
echo '</ul>';
}
add_action('thesis_hook_footer', 'footer_cats',99);

Place this code in custom.css:

.custom #footer {
  text-align:center;
}
.custom #footer ul,
 .custom #footer li {
  display:inline;
}