Created
March 7, 2016 06:57
-
-
Save dougdaulton/e66bfbbadec8e1382ac2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php | |
/** | |
* Blog Archive Body Class | |
* | |
*/ | |
function pf_blog_archive_body_class( $classes ) { | |
$classes[] = 'blog-archive'; | |
return $classes; | |
} | |
add_filter( 'body_class', 'pf_blog_archive_body_class' ); | |
/* Custom Post meta on single posts */ | |
add_filter( 'genesis_post_info', 'pf_post_info_filter' ); | |
/* Remove tags on archive pages */ | |
remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); | |
genesis(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment