Skip to content

Instantly share code, notes, and snippets.

@braddalton braddalton/page_blog.php
Last active Apr 16, 2019

Embed
What would you like to do?
Genesis Blog Page Grid https://wp.me/p1lTu0-h5V
<?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
You can’t perform that action at this time.