archive.php 653 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Archive page template
  4. *
  5. * @package vamtam/consulting
  6. */
  7. VamtamFramework::set( 'page_title', get_the_archive_title() );
  8. get_header(); ?>
  9. <?php if ( have_posts() ) : the_post(); ?>
  10. <div class="row page-wrapper">
  11. <?php VamtamTemplates::$in_page_wrapper = true; ?>
  12. <article id="post-<?php the_ID(); ?>" <?php post_class( VamtamTemplates::get_layout() ); ?>>
  13. <div class="page-content">
  14. <?php rewind_posts() ?>
  15. <?php get_template_part( 'loop', 'archive' ) ?>
  16. <?php get_template_part( 'templates/share' ); ?>
  17. </div>
  18. </article>
  19. <?php get_template_part( 'sidebar' ) ?>
  20. </div>
  21. <?php endif ?>
  22. <?php get_footer();