Skip to content

Instantly share code, notes, and snippets.

@beastaugh
Created December 11, 2008 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beastaugh/34683 to your computer and use it in GitHub Desktop.
Save beastaugh/34683 to your computer and use it in GitHub Desktop.
Always show author names on posts in Tarski.
<?php
/*
Plugin Name: Always Show Authors
Plugin URI: http://tarskitheme.com/
Description: Always show author names on posts in Tarski.
Author: Ben Eastaugh
Version: 1.0
Author URI: http://extralogical.net/
*/
function always_show_authors($show_authors) {
return true;
}
add_filter('tarski_show_authors', 'always_show_authors');
if (function_exists('tarski_resave_show_authors')) {
register_activation_hook(__FILE__, 'tarski_resave_show_authors');
register_deactivation_hook(__FILE__, 'tarski_resave_show_authors');
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment