/
work.php
103 lines (100 loc) · 4.41 KB
/
work.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
/**
* The template for displaying all our work.
*
* @package CreativeFolk
*/
?>
<section id="portfolio">
<div class="portHeader sectionHeader">
<h1 class="sr-only">Our Portfolio</h1>
<h3 class="visible-md visible-lg">We make awesome stuff</h3>
</div>
<div class="container-fluid">
<?php query_posts('category_name=web'); ?>
<?php if (have_posts()) : ?>
<div class="row">
<div class="col-xs-12">
<h5>Web</h5>
<div class="row">
<ul class="list-unstyled portfolioList">
<?php while ( have_posts() ) : the_post(); ?>
<?php $blurb = get_field('blurb'); ?>
<li>
<figure>
<?php the_post_thumbnail( 'thumbnail', array( 'class' => 'port-img' ) ); ?>
<a href="<?php the_permalink(); ?>">
<figcaption>
<h4><?php the_title();?></h4>
<p><?php echo $blurb; ?></p>
</figcaption>
</a>
</figure>
</li>
<?php endwhile; ?>
</ul>
</div>
</div><!-- column -->
<?php endif; ?>
<?php wp_reset_query(); ?>
<?php query_posts('category_name=print'); ?>
<?php if (have_posts()) : ?>
<div class="col-xs-12">
<h5>Print</h5>
<div class="row">
<ul class="list-unstyled portfolioList">
<?php while ( have_posts() ) : the_post(); ?>
<?php $blurb = get_field('blurb'); ?>
<li>
<figure>
<?php the_post_thumbnail( 'thumbnail', array( 'class' => 'port-img' ) ); ?>
<a href="<?php the_permalink(); ?>">
<figcaption>
<h4><?php the_title();?></h4>
<p><?php echo $blurb; ?></p>
</figcaption>
</a>
</figure>
</li>
<?php endwhile; ?>
</ul>
</div>
</div><!-- column -->
<?php endif; ?>
<?php wp_reset_query(); ?>
<?php query_posts('category_name=identity'); ?>
<?php if (have_posts()) : ?>
<div class="col-xs-12">
<h5>Identity</h5>
<div class="row">
<ul class="list-unstyled portfolioList">
<?php while ( have_posts() ) : the_post(); ?>
<?php $blurb = get_field('blurb'); ?>
<li>
<figure>
<?php the_post_thumbnail( 'thumbnail', array( 'class' => 'port-img' ) ); ?>
<a href="<?php the_permalink(); ?>">
<figcaption>
<h4><?php the_title();?></h4>
<p><?php echo $blurb; ?></p>
</figcaption>
</a>
</figure>
</li>
<?php endwhile; ?>
</ul>
</div>
</div><!-- column -->
<?php endif; ?>
</div><!-- .row -->
</div><!-- .container-fluid -->
</section><!-- portfolio -->
<<<<<<< Updated upstream
<?php wp_reset_query(); ?>
=======
<<<<<<< Updated upstream
<?php wp_reset_query(); ?>
=======
wp_reset_query()
>>>>>>> Stashed changes
>>>>>>> Stashed changes