Skip to content

Instantly share code, notes, and snippets.

@ola-wale
Created July 6, 2016 17:55
Show Gist options
  • Save ola-wale/2891ccf4505f52fb92eadb006439de20 to your computer and use it in GitHub Desktop.
Save ola-wale/2891ccf4505f52fb92eadb006439de20 to your computer and use it in GitHub Desktop.
appeal_set_post_views(get_the_ID());
//get post format template
get_template_part( 'template-parts/content-single', get_post_format() );
//Post Navigation
if(get_theme_mod('content_display_post_navigation',1)){
appeal_post_navigation();
}
if(get_theme_mod('content_display_author_details',1)){
appeal_author_details();
}
if ( is_active_sidebar( 'appeal-after-content' ) ) {
dynamic_sidebar( 'appeal-after-content' );
}
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) {
comments_template();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment