Created
August 21, 2014 22:36
-
-
Save generatepress/159b98701e9b71e8e705 to your computer and use it in GitHub Desktop.
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 | |
/** | |
* The template for displaying all pages. | |
* | |
* This is the template that displays all pages by default. | |
* Please note that this is the WordPress construct of pages | |
* and that other 'pages' on your WordPress site will use a | |
* different template. | |
* | |
* @package Generate | |
*/ | |
get_header(); ?> | |
<div id="primary" <?php generate_content_class();?>> | |
<main id="main" <?php generate_main_class(); ?> itemprop="mainContentOfPage" role="main"> | |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> itemtype="http://schema.org/CreativeWork" itemscope="itemscope"> | |
<div class="inside-article"> | |
<div class="entry-content" itemprop="text"> | |
<?php if ( function_exists( 'woocommerce_content' ) ) : | |
woocommerce_content(); | |
endif; ?> | |
</div><!-- .entry-content --> | |
</div><!-- .inside-article --> | |
</article><!-- #post-## --> | |
</main><!-- #main --> | |
</div><!-- #primary --> | |
<?php | |
do_action('generate_sidebars'); | |
get_footer(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment