-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcategory.php
71 lines (43 loc) · 1.7 KB
/
category.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
// calling the header.php
get_header();
// action hook for placing content above #container
thematic_abovecontainer();
?>
<!-- thematic above the content -->
<?php thematic_abovecontent();
// calling the standard sidebar
thematic_sidebar(); ?>
<!-- thematic content -->
<?php
// displays the page title
thematic_page_title();
// create the navigation above the content
thematic_navigation_above();
// action hook for placing content above the category loop
thematic_above_categoryloop();
// action hook creating the category loop
thematic_categoryloop();
// action hook for placing content below the category loop
thematic_below_categoryloop();
// create the navigation below the content
thematic_navigation_below();
?>
<?php thematic_belowcontent(); ?>
<!-- once upon a time this was id="primary" -->
<section class="main">
<h2 class="page-title"><?php
printf( __( 'Category Archives: %s', 'themename' ), '<span>' . single_cat_title( '', false ) . '</span>' );
?></h2>
<?php $categorydesc = category_description(); if ( ! empty( $categorydesc ) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?>
<?php get_template_part( 'loop', 'category' );
// calling the standard sidebar
thematic_sidebar();
?>
</section><!-- #primary -->
<?php
// action hook for placing content below #container
thematic_belowcontainer();
// calling footer.php
get_footer();
?>