-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathattachment.php
More file actions
39 lines (30 loc) · 1.11 KB
/
attachment.php
File metadata and controls
39 lines (30 loc) · 1.11 KB
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 posts.
*
* @package nbr
*/
get_header(); ?>
<div id="primary" class="content-area">
<div id="content" class="site-content width-75 bg-0" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="page-header bg-12">
<h1 class="page-title"><?php if (get_field('feature_related_film')) { ?><em><?php echo(get_field('feature_related_film')); ?></em> – <?php } the_title(); ?></h1>
<div class="entry-meta text-50">
<h6><?php the_date('F Y'); ?></h6>
<p>by <?php
if (get_field('feature_author')) { echo( get_field('feature_author') ); }
else { the_author(); }
?></p>
</div>
</header>
Single Attachment page <?php endwhile; ?>
</div><!-- #content -->
<div id="secondary" class="widget-area news archives qa width-25" role="complementary">
<?php get_template_part('module-qa'); ?>
<?php get_template_part('module-news'); ?>
<?php get_template_part('module-archives'); ?>
</div>
</div><!-- #primary -->
<?php get_footer(); ?>