Skip to content

Instantly share code, notes, and snippets.

@ChrisCree
Created December 18, 2013 17:58
Show Gist options
  • Save ChrisCree/8026861 to your computer and use it in GitHub Desktop.
Save ChrisCree/8026861 to your computer and use it in GitHub Desktop.
How to show the contents from the page editor on a page using the Genesis blog page template for both XHTML and for HTML5. Create a file with the contents of this Gist. Name the file page_blog.php and FTP it up to your child theme directory. Then select the Blog page template and you should be good to go.
<?php
/**
*
* Template Name: Blog
*
* Modified Blog page template to add content area above
* blog archives
*
*/
add_action( 'genesis_loop', 'genesis_standard_loop', 8 );
genesis();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment