Created
August 27, 2008 20:38
-
-
Save beastaugh/7577 to your computer and use it in GitHub Desktop.
Change the Tarski footer credits.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Change Credits | |
Plugin URI: http://tarskitheme.com/ | |
Description: Change the Tarski footer credits. | |
Author: Benedict Eastaugh | |
Version: 1.0 | |
Author URI: http://extralogical.net/ | |
*/ | |
function change_tarski_credits() { | |
$credits_text = <<<CREDITS | |
<div class="primary content"> | |
<p>Your credits text.</p> | |
</div> | |
CREDITS; | |
print $credits_text; | |
} | |
function init_change_tarski_credits() { | |
remove_action('th_footer', 'tarski_credits'); | |
add_action('th_footer', 'change_tarski_credits'); | |
} | |
add_action('init', 'init_change_tarski_credits'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment