public
Last active

Change the Tarski footer credits.

  • Download Gist
change_credits.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<?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');
 
?>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.