Created
February 28, 2019 23:20
-
-
Save feliciaceballos/3ccf5081ee7708e11e82d371ebc861e3 to your computer and use it in GitHub Desktop.
Genesis Page Index
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
<?php | |
/* | |
Template Name: Writing Index | |
*/ | |
//* Adds a CSS class to the body element | |
add_filter( 'body_class', 'bbs_index_body_class' ); | |
function bbs_index_body_class( $classes ) { | |
$classes[] = 'bbs-index'; | |
return $classes; | |
} | |
add_action( 'genesis_entry_content', 'fc_display_posts_from_other_blogs' ); | |
genesis(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment