Skip to content

Instantly share code, notes, and snippets.

@congthien
Created May 18, 2017 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save congthien/305891f288e69e4076586e60a0e58b37 to your computer and use it in GitHub Desktop.
Save congthien/305891f288e69e4076586e60a0e58b37 to your computer and use it in GitHub Desktop.
screenr woocommerce
<?php
/**
* The template for displaying all pages WooCommerce page.
*
* @package Screenr
*/
get_header();
?>
<div id="content" class="site-content">
<div id="content-inside" class="container <?php echo esc_attr( get_theme_mod( 'layout_settings', 'right' ) ); ?>-sidebar">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php woocommerce_content(); ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
</div><!--#content-inside -->
</div><!-- #content -->
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment