/
work.php
74 lines (73 loc) · 3.42 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
<?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=work'); ?>
<?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' ) ); ?>
<figcaption>
<h4><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h4>
<p><?php echo $blurb; ?></p>
</figcaption>
</figure>
</li>
</ul>
</div>
</div><!-- column -->
<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' ) ); ?>
<figcaption>
<h4><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h4>
<p><?php echo $blurb; ?></p>
</figcaption>
</figure>
</li>
</ul>
</div>
</div><!-- column -->
<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' ) ); ?>
<figcaption>
<h4><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h4>
<p><?php echo $blurb; ?></p>
</figcaption>
</figure>
</li>
</ul>
</div>
</div><!-- column -->
</div><!-- .row -->
</div><!-- .container-fluid -->
</section><!-- portfolio -->