/
tag.php
40 lines (34 loc) · 1.15 KB
/
tag.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
<?php
/**
* The template for displaying Tag Archive pages.
*/
$tag = $wp_query->get_queried_object();
$topic = argo_get_topic_for( $tag );
?>
<?php get_header(); ?>
<?php get_template_part( 'includes/collection-header' ); ?>
<div id="content" class="grid_8" role="main">
<?php get_template_part( 'includes/collection-background' ); ?>
<?php get_template_part( 'includes/collection-featured' ); ?>
<div class="topic-posts">
<h2 class="section-hed">Latest Posts</h2>
<ul class="meta-gestures">
<li class="subscribe"><a href="<?php echo get_term_feed_link( $cat->term_id, $cat->taxonomy ); ?>">Follow this topic</a></li>
</ul>
<?php
/* Run the loop for the tag archive to output the posts
* If you want to overload this in a child theme then include a file
* called loop-tag.php and that will be used instead.
*/
get_template_part( 'includes/topic_loop', 'tag' );
?>
</div>
</div>
<!-- /.grid_8 #content -->
<aside id="sidebar" class="grid_4">
<?php get_template_part( 'includes/collection-links' ); ?>
<?php get_template_part( 'includes/collection-multimedia' ); ?>
<?php get_sidebar('topic'); ?>
</aside>
<!-- /.grid_4 -->
<?php get_footer(); ?>