Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Blog Intro
function be_blog_intro() {
$content = get_post( get_option( 'page_for_posts' ) )->post_content;
if( $content )
echo '<div class="blog-intro">' . wpautop( $content ) . '</div>';
add_action( 'genesis_before_loop', 'be_blog_intro' );
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.