Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kimwhite
Created January 27, 2016 15:07
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 kimwhite/e6996f4271d48caf2f5f to your computer and use it in GitHub Desktop.
Save kimwhite/e6996f4271d48caf2f5f to your computer and use it in GitHub Desktop.
/**
* Add Genesis Title Toggle to Posts
*
* @link http://www.billerickson.net/code/genesis-title-toggle-for-posts
* @author Bill Erickson
*
* @param array $post_types
* @return array
*/
function be_title_toggle_on_posts( $post_types ) {
$post_types[] = 'post';
return $post_types;
}
add_filter( 'be_title_toggle_post_types', 'be_title_toggle_on_posts' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment