Created
January 27, 2016 15:07
-
-
Save kimwhite/e6996f4271d48caf2f5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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