Lego2012
12/14/2016 - 2:03 PM

Entry Footer (HTML5)

Entry Footer (HTML5)

<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

<!-- If you are a beginner user, you might find the Simple Edits plugin helpful as it presents an easier method of customizing the entry footer. -->

<!-- The snippets below may be used to customize the Entry Footer content in HTML5 (Pro) themes. If you are using a XHTML (non-Pro) theme, use the Post Meta customization snippets. -->

<!-- Below is the code to customize the entry footer on your site: -->

//* 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;
}

<!-- Below is the code to remove the entry footer markup on your site: -->

//* 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 );

<!-- Below is the code to remove the entry meta on your site: -->

//* Remove the entry meta in the entry footer (requires HTML5 theme support)
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );