Skip to content

Instantly share code, notes, and snippets.

@kimwhite
Created January 27, 2016 15:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
/**
* 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