Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created May 14, 2015 13:18
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save billerickson/ffe49d6155afad5062a7 to your computer and use it in GitHub Desktop.
<?php
/**
* Add Page Title to Top
*
*/
function be_home_page_title() {
echo '<h1 class="archive-title">' . get_the_title( get_option( 'page_for_posts' ) ) . '</h1>';
}
add_action( 'genesis_before_loop', 'be_home_page_title' );
genesis();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment