Created
February 25, 2016 14:55
-
-
Save farookibrahim/3b7e3b106013cb2c7638 to your computer and use it in GitHub Desktop.
Unicase CPT sport single template
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 | |
| get_header(); | |
| ob_start(); | |
| while ( have_posts() ) : the_post(); | |
| do_action( 'unicase_single_post_before' ); | |
| get_template_part( 'templates/contents/content', 'single' ); | |
| /** | |
| * @hooked unicase_post_nav - 10 | |
| * @hooked unicase_display_comments - 10 | |
| */ | |
| do_action( 'unicase_single_post_after' ); | |
| endwhile; // end of the loop. | |
| $output = ob_get_clean(); | |
| $layout_args = array( 'main_content' => $output ); | |
| unicase_get_template( 'layouts/layout-fullwidth.php', $layout_args ); | |
| get_footer(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment