-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchive.php
More file actions
executable file
·35 lines (33 loc) · 959 Bytes
/
archive.php
File metadata and controls
executable file
·35 lines (33 loc) · 959 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
30
31
32
33
34
35
<?php get_header(); ?>
<h3 class="top_title">
<?php if (is_category()) {
single_cat_title();
} elseif( is_tag() ) {
single_tag_title();
} elseif (is_day()) {
the_time('F jS, Y');
} elseif (is_month()) {
the_time('F, Y');
} elseif (is_year()) {
the_time('Y');
} elseif (is_author()) {
echo __('Author Archive', 'LibreBooks');
} elseif (isset($_GET['paged']) && !empty($_GET['paged'])) {
echo __('Blog Archives', 'LibreBooks');
} ?>
</h3>
<div id="content">
<div id="content_inside">
<?php
if ( have_posts() ) :
get_template_part('list-content');
else :
get_template_part('content-none');
endif;
?>
</div><!--//content_inside-->
<div class="clear"></div>
<?php librebooks_load_more(); ?>
<?php wp_reset_query(); ?>
</div><!--//content-->
<?php get_footer(); ?>