-
Notifications
You must be signed in to change notification settings - Fork 0
/
single-lookbook.php
37 lines (29 loc) · 945 Bytes
/
single-lookbook.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
<?php
/*
Template Name: Lookbook Single
*/
get_header('shop'); ?>
<!-- LookBook Post Content
---------------------->
<?php // Start the Loop
if(have_posts()) : while(have_posts()) : the_post();
// LookBooks
if(in_category('LookBook')) :
// The Slider
echo '<article class="slider">';
the_content();
echo '</article>';
// Text and Title
echo '<article class="lookBook_meta">'; ?>
<h1><?php the_title();?></h1>
<span class="line"></span>
<?php
if(the_excerpt() != '') : the_excerpt();
endif;
echo '</article>';
endif;
endwhile; else : ?>
<p>Sorry, we've encountered an error. Web architects en route.</p>
<?php endif; ?><!-- End the loop -->
<!-- #End: Post Content -->
<?php get_footer('shop'); ?>