-
Notifications
You must be signed in to change notification settings - Fork 1
/
tag.php
47 lines (33 loc) · 1.26 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
41
42
43
44
45
46
47
<?php
/**
* @package WordPress
* @subpackage PulsePress
*/
?>
<?php get_header(); ?>
<?php $tag_obj = $wp_query->get_queried_object(); ?>
<div class="sleeve_main">
<div id="main">
<h2 class="archive-title tag-title"><?php printf( __( 'Tagged: %s', 'pulse_press' ), single_tag_title( '', false) ); ?> <a class="rss" href="<?php echo get_tag_feed_link( $tag_obj->term_id ); ?>">RSS</a>
<span class="controls">
<a href="#" id="togglecomments"> <?php _e( 'Toggle Comment Threads', 'pulse_press' ); ?></a> | <a href="#directions" id="directions-keyboard"><?php _e( 'Keyboard Shortcuts', 'pulse_press' ); ?></a>
</span>
</h2>
<?php if ( have_posts() ) : ?>
<ul id="postlist">
<?php while ( have_posts() ) : the_post(); ?>
<?php pulse_press_load_entry() // loads entry.php ?>
<?php endwhile; ?>
</ul>
<?php else : ?>
<div class="no-posts">
<h3><?php _e( 'No posts found!', 'pulse_press' ); ?></h3>
</div>
<?php endif ?>
<div class="navigation">
<p class="nav-older"><?php next_posts_link( __( '← Older posts', 'pulse_press' ) ); ?></p>
<p class="nav-newer"><?php previous_posts_link( __( 'Newer posts →</span>', 'pulse_press' ) ); ?></p>
</div>
</div> <!-- main -->
</div> <!-- sleeve -->
<?php get_footer(); ?>