Skip to content

Instantly share code, notes, and snippets.

@congthien
Created July 26, 2018 02:47
Show Gist options
  • Save congthien/a2b2d30d03ee26ec38e394ce627e8c62 to your computer and use it in GitHub Desktop.
Save congthien/a2b2d30d03ee26ec38e394ce627e8c62 to your computer and use it in GitHub Desktop.
<?php
/**
*Template Name: Full Width - Contained Content
*
*/
get_header();
/**
* Hooks wpcoupon_after_header
*
* @see wpcoupon_page_header();
*
*/
do_action( 'wpcoupon_after_header' );
$layout = wpcoupon_get_site_layout();
?>
<div id="content-wrap" class="container container-page no-sidebar">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php
get_template_part('content');
wpcoupon_wp_link_pages( );
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
</main><!-- #main -->
</div><!-- #primary -->
</div> <!-- /#content-wrap -->
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment