Skip to content

Instantly share code, notes, and snippets.

@beastaugh
Created April 15, 2013 14:50
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/5388662 to your computer and use it in GitHub Desktop.
Save beastaugh/5388662 to your computer and use it in GitHub Desktop.
WordPress plugin to hide post and page author names in the Tarski theme.
<?php
/*
Plugin Name: Hide Author Names in Tarski
Plugin URI: http://tarskitheme.com/help/hooks/example-plugins/
Description: Hide post and page author names in the Tarski theme.
Author: Benedict Eastaugh
Version: 1.0
Author URI: http://extralogical.net/
*/
function _hide_tarski_authors($author_visibility) {
return false;
}
add_filter('tarski_show_authors', '_hide_tarski_authors');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment