Last active
April 16, 2019 14:38
-
-
Save braddalton/ab1999eb80f0d253cb27db5b47ff7e75 to your computer and use it in GitHub Desktop.
Genesis Blog Page Grid https://wp.me/p1lTu0-h5V
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: Blog Grid | |
* * @author Brad Dalton | |
* @link https://wp.me/p1lTu0-h5V | |
*/ | |
add_filter( 'body_class', 'blog_add_body_class' ); | |
function blog_add_body_class( $classes ) { | |
$classes[] = 'blog-page'; | |
return $classes; | |
} | |
add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' ); | |
remove_action( 'genesis_before_loop', 'genesis_do_blog_template_heading' ); | |
genesis(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment