-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtag.php
49 lines (43 loc) · 1.87 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
48
49
<?php
get_header();
$date_format = get_option( 'date_format' );
if ( of_get_option( 'home_sidebar', '1' ) == "1" )
tech_show_sidebar( "l" );
?>
<div id="content" class="<?php echo (of_get_option( 'home_sidebar', '1' ) != "1" || of_get_option( 'sidebar_pos', '3-col' ) == '1-col' ) ? "wide" : "narrow"; ?>column">
<div class="post">
<h2 class="center"><?php _e( "Tag Archive", "techozoic" ); ?></h2><br />
<?php wp_tag_cloud( '' ); ?>
<?php tech_nav_links(); ?>
<?php if ( have_posts() ) { ?>
<?php while ( have_posts() ) {
the_post(); ?>
<div class="tagcont">
<h2 class="post_title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf( __( 'Permanent Link to %s', 'techozoic' ), get_the_title() ); ?>"><?php the_title(); ?></a></h2>
<div class="entry">
<?php
if ( tech_excerpt( 'tag' ) ) {
the_excerpt();
} else {
the_content( __( 'Read the remainder of this entry »', 'techozoic' ) );
}
?>
</div>
<?php if ( tech_icons( 'tag' ) ) { ?>
<div class="top">
<?php tech_social_icons( $home = true ); ?><a href="#top"><img src="<?php echo get_template_directory_uri(); ?>/images/icons/top.png" border="0" alt="TOP" title="<?php _e( 'To the top', 'techozoic' ) ?>" /></a>
</div>
<?php } ?>
</div>
<?php } // End while have_posts
} // End if have_posts
tech_nav_links();
?>
</div>
</div>
<?php
if ( of_get_option( 'home_sidebar', '1' ) == "1" ) {
tech_show_sidebar( "r" );
}
get_footer();
?>