archive-jetpack-portfolio.php 907 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * Portfolio 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
  16. if ( class_exists( 'FLBuilder' ) ) {
  17. FLBuilder::render_module_html( 'vamtam-projects', array(
  18. 'layout' => 'mosaic',
  19. 'pagination' => true,
  20. 'link_opens' => 'single',
  21. 'show_title' => '1',
  22. 'description' => '1',
  23. ) );
  24. }
  25. ?>
  26. <?php get_template_part( 'templates/share' ); ?>
  27. </div>
  28. </article>
  29. <?php get_template_part( 'sidebar' ) ?>
  30. </div>
  31. <?php endif ?>
  32. <?php get_footer();