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
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); | |
add_action( 'genesis_entry_header', 'child_post_info' ); | |
/** | |
* Custom Post-Info with Google Rich Snippet support | |
* @link https://gist.github.com/gregrickaby/2838395 | |
* @author Greg Rickaby | |
* @since 1.0.0 | |
*/ | |
function child_post_info() { | |
if ( 'portfolio' == get_post_type() || is_page() ) |