Skip to content

Instantly share code, notes, and snippets.

@studiopress
Last active January 14, 2017 02:46
Show Gist options
  • Save studiopress/5722513 to your computer and use it in GitHub Desktop.
Save studiopress/5722513 to your computer and use it in GitHub Desktop.
Genesis entry footer.
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Customize the entry meta in the entry footer (requires HTML5 theme support)
add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
function sp_post_meta_filter($post_meta) {
$post_meta = '[post_categories] [post_tags]';
return $post_meta;
}
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Remove the entry meta in the entry footer (requires HTML5 theme support)
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Remove the entry footer markup (requires HTML5 theme support)
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 );
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment