-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle-portfolio.php
More file actions
33 lines (28 loc) · 914 Bytes
/
single-portfolio.php
File metadata and controls
33 lines (28 loc) · 914 Bytes
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
<?php get_header(); ?>
<section class="two-column row no-max pad">
<div class="small-12 columns">
<div class="row">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<!-- Primary Column -->
<div class="small-12 medium-7 medium-offset-1 medium-push-4 columns">
<div class="primary">
<?php the_field('images'); ?>
</div>
</div>
<!-- Secondary Column -->
<div class="small-12 medium-4 medium-pull-8 columns">
<div class="secondary">
<h1><?php the_title(); ?></h1>
<p><?php the_field('description'); ?></p>
<hr />
<p>
<?php previous_post_link(); ?> -
<a href="<?php echo esc_url(home_url()); ?>/portfolio">Back to Portfolio</a>
<?php next_post_link(); ?>
</p>
</div>
</div>
<?php endwhile; endif; ?>
</div>
</section>
<?php get_footer(); ?>