-
Notifications
You must be signed in to change notification settings - Fork 0
/
single-jetpack-portfolio.php
39 lines (38 loc) · 1.05 KB
/
single-jetpack-portfolio.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* The template for displaying all single portfolio posts.
*
* @package WordPress
* @subpackage Hestia
* @since Hestia 1.0
*/
get_header(); ?>
<div id="primary" class="page-header header-filter header-small" data-parallax="active" style="background-image: url('<?php echo hestia_featured_header(); ?>');">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2 text-center">
<?php single_post_title( '<h1 class="title">', '</h1>' ); ?>
</div>
</div>
</div>
</div>
</header>
<div class="<?php echo hestia_layout(); ?>">
<div class="blog-post">
<div class="container">
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content', 'portfolio' );
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
endwhile;
else :
get_template_part( 'template-parts/content', 'none' );
endif;
?>
</div>
</div>
</div>
<?php get_footer(); ?>