-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy patharchive.php
29 lines (24 loc) · 927 Bytes
/
archive.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
<?php get_header(); ?>
<?php jeo_featured(); ?>
<section id="content">
<?php do_action('afdm_before_content'); ?>
<div class="child-section">
<div class="section-title">
<h2 class="archive-title"><?php
if ( is_day() ) :
printf( __( 'Daily Archives: %s', 'arteforadomuseu' ), get_the_date() );
elseif ( is_month() ) :
printf( __( 'Monthly Archives: %s', 'arteforadomuseu' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'arteforadomuseu' ) ) );
elseif ( is_year() ) :
printf( __( 'Yearly Archives: %s', 'arteforadomuseu' ), get_the_date( _x( 'Y', 'yearly archives date format', 'arteforadomuseu' ) ) );
elseif(is_tax()) :
single_term_title(__('Currently browsing', 'arteforadomuseu') . ': ');
else :
_e( 'Archives', 'arteforadomuseu' );
endif;
?></h1>
</div>
<?php get_template_part('loop'); ?>
</div>
</section>
<?php get_footer(); ?>