%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/webroot/blog/wp-content/plugins/td-composer/mobile/ |
Upload File : |
<?php
/* ----------------------------------------------------------------------------
the archive(s) template
*/
if ( td_util::is_amp() ) {
get_header('amp');
} else {
get_header();
}
//read the current author object - used by here in title and by /parts/author-header.php
$part_cur_auth_obj = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));
//prepare the archives page title
if (is_day()) {
$td_archive_title = __td('Daily Archives:', TD_THEME_NAME). ' ' . get_the_date();
} elseif (is_month()) {
$td_archive_title = __td('Monthly Archives:', TD_THEME_NAME) . ' ' . get_the_date('F Y');
} elseif (is_year()) {
$td_archive_title = __td('Yearly Archives:', TD_THEME_NAME) . ' ' . get_the_date('Y');
} else {
$td_archive_title = __td('Archives', TD_THEME_NAME);
}
?>
<div class="td-main-content-wrap">
<div class="td-container">
<div class="td-crumb-container">
<?php echo td_page_generator_mob::get_archive_breadcrumbs(); ?>
</div>
<div class="td-main-content">
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php echo $td_archive_title; ?></span>
</h1>
</div>
<?php locate_template('loop.php', true); ?>
<?php echo td_page_generator_mob::get_pagination(); ?>
</div>
</div>
</div>
<?php
if ( td_util::is_amp() ) {
get_footer('amp');
} else {
get_footer();
}