forked from rememberlenny/WooThemes-Canvas-Foundation-Zombie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loop-tumblog.php
44 lines (33 loc) · 914 Bytes
/
loop-tumblog.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
<?php
/**
* Loop - Tumblog Taxonomy
*
* This is the tumblog taxonomy loop file, used on the `tumblog` taxonomy template.
*
* @package WooFramework
* @subpackage Template
*/
global $more; $more = 0;
// Get taxonomy query object
$taxonomy_archive_query_obj = $wp_query->get_queried_object();
// Taxonomy term name
$taxonomy_term_nice_name = $taxonomy_archive_query_obj->name;
// Taxonomy term slug
$taxonomy_term_slug = $taxonomy_archive_query_obj->slug;
woo_loop_before();
if (have_posts()) { $count = 0;
$title_before = '<span class="archive_header">';
$title_after = '</span>';
woo_archive_title( $title_before, $title_after );
?>
<div class="fix"></div>
<?php
while (have_posts()) { the_post(); $count++;
woo_get_template_part( 'content', 'tumblog' );
} // End WHILE Loop
} else {
get_template_part( 'content', 'noposts' );
} // End IF Statement
woo_loop_after();
woo_pagenav();
?>