Created
March 7, 2015 15:34
-
-
Save digitalredeye/eeddff80ecae7a82bab4 to your computer and use it in GitHub Desktop.
Blog template for Genesis Framework. This template displays content above the posts and only when on the first page.
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 | |
//* Only show page content above posts when on first page. | |
if ( !is_paged() ) { | |
add_action( 'genesis_loop', 'genesis_standard_loop', 5 ); | |
} | |
genesis(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment