<?php get_header(); ?>

  <main class="section-wide">

    <?php if( have_posts() ) : while( have_posts() ) : the_post(); ?>

    <article <?php post_class( 'article article-page' ); ?> id="post-<?php the_ID(); ?>" itemscope itemtype="http://schema.org/CreativeWork">

      <header class="page-header">
        <h1 class="page-title entry-title" itemprop="headline"><?php the_title(); ?></h1>
      </header>

      <article class="post-content entry-content" itemprop="text">

        <?php the_content(); ?>

        <?php ace_get_link_pages(); ?>

        <footer class="footer-widgets">

          <footer class="footer-left">
            <?php if( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar( 'Footer Left Widget' ) ) : endif; ?>
          </footer><!-- .footer-left -->
      
          <footer class="footer-right">
            <?php if( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar( 'Footer Right Widget' ) ) : endif; ?>
          </footer><!-- footer-right -->

        </footer><!-- .footer-widgets -->

      </article><!-- .post-content -->

    </article><!-- .article -->

    <?php endwhile; endif; ?>

  </main><!-- .section -->

<?php get_footer(); ?>