Created
June 9, 2015 08:53
-
-
Save anonymous/e15c9a615f938889b550 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
<?php | |
/* | |
Template Name: Book Page | |
*/ | |
?> | |
<?php | |
add_filter('genesis_pre_get_option_site_layout', '__genesis_return_full_width_content'); | |
add_filter('body_class', 'bloggeek_add_book_body_class'); | |
/** | |
* Add page specific body class | |
* | |
* @param $classes array Body Classes | |
* @return $classes array Modified Body Classes | |
*/ | |
function bloggeek_add_book_body_class($classes) { | |
$classes[] = 'bookpage'; | |
return $classes; | |
} | |
genesis(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment