forked from alecctv/iDowns
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtag.php
More file actions
29 lines (29 loc) · 982 Bytes
/
tag.php
File metadata and controls
29 lines (29 loc) · 982 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
<?php get_header();?>
<div class="banner banner-archive" <?php if(_DGA('banner_archive_img')){?> style="background-image: url(<?php echo _DGA('banner_archive_img');?>);" <?php }?>>
<div class="container">
<h1 class="archive-title"><?php single_tag_title() ?></h1>
<p class="archive-desc"><?php echo trim(strip_tags(tag_description()));?></p>
</div>
</div>
<div class="main">
<div class="container">
<?php DGAThemes_ad('ad_list_header');?>
<div id="posts" class="posts grids <?php if(_DGA('waterfall')) echo 'waterfall';?> clearfix">
<?php
while ( have_posts() ) : the_post();
switch (_DGA('home_postlist')) {
case "style_0":
get_template_part( 'content', get_post_format() );
break;
case "style_1":
get_template_part( 'content', 'item' );
break;
}
endwhile; wp_reset_query();
?>
</div>
<?php DGAThemes_paging();?>
<?php DGAThemes_ad('ad_list_footer');?>
</div>
</div>
<?php get_footer();?>