Skip to content

Instantly share code, notes, and snippets.

@billerickson
Last active November 17, 2015 17:51
Show Gist options
  • Save billerickson/b8ef83af223dbf1f8037 to your computer and use it in GitHub Desktop.
Save billerickson/b8ef83af223dbf1f8037 to your computer and use it in GitHub Desktop.
<?php // dont include this line
/**
* 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