portfolio-page.php 613 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Template Name: Portfolio Template
  4. *
  5. * The template for displaying Portfolio Projects.
  6. *
  7. * @package Lodestar
  8. */
  9. get_header();
  10. $jetpack_portfolio_content = get_option( 'jetpack_portfolio_content' ); ?>
  11. <div class="wrap">
  12. <div id="primary" class="content-area">
  13. <main class="site-main" role="main">
  14. <?php
  15. if ( have_posts() ) {
  16. get_template_part( 'components/features/portfolio/content', 'portfolio-template' );
  17. } else {
  18. get_template_part( 'template-parts/content', 'none' );
  19. }
  20. ?>
  21. </main><!-- #main -->
  22. </div><!-- #primary -->
  23. </div><!-- .wrap -->
  24. <?php
  25. get_footer();