Skip to content

Instantly share code, notes, and snippets.

@braddalton
Last active December 16, 2015 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save braddalton/5472979 to your computer and use it in GitHub Desktop.
Save braddalton/5472979 to your computer and use it in GitHub Desktop.
/**
* @author Brad Dalton - WP Sites
*
* @link http://wpsites.net/web-design/title-custom-post-type-archive/
*/
function add_portfolio_page_title() {
if ( is_post_type_archive( 'portfolio' ) )
echo '<div class="portfolio-title"><h2 style="text-align: center;">Add Portfolio Archive Title Here</h2></div>';
};
add_action('genesis_after_header', 'add_portfolio_page_title');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment