| Server IP : 216.238.66.20 / Your IP : 216.73.216.158 Web Server : nginx/1.30.4 System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/sweetheart.mx/htdocs/wp-content/themes/rosemary/ |
Upload File : |
<?php get_header(); ?>
<div class="archive-box">
<?php
if ( is_day() ) :
echo _e( '<span>Daily Archives</span>', 'solopine' );
printf( __( '<h1>%s</h1>', 'solopine' ), get_the_date() );
elseif ( is_month() ) :
echo _e( '<span>Monthly Archives</span>', 'solopine' );
printf( __( '<h1>%s</h1>', 'solopine' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'solopine' ) ) );
elseif ( is_year() ) :
echo _e( '<span>Yearly Archives</span>', 'solopine' );
printf( __( '<h1>%s</h1>', 'solopine' ), get_the_date( _x( 'Y', 'yearly archives date format', 'solopine' ) ) );
else :
_e( '<h1>Archives</h1>', 'solopine' );
endif;
?>
</div>
<div class="container">
<div id="content">
<div id="main" <?php if(get_theme_mod('sp_sidebar_archive') == true) : ?>class="fullwidth"<?php endif; ?>>
<?php if(get_theme_mod('sp_archive_layout') == 'grid' || get_theme_mod('sp_archive_layout') == 'full_grid') : ?><ul class="sp-grid"><?php endif; ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php if(get_theme_mod('sp_archive_layout') == 'grid') : ?>
<?php get_template_part('content', 'grid'); ?>
<?php elseif(get_theme_mod('sp_archive_layout') == 'list') : ?>
<?php get_template_part('content', 'list'); ?>
<?php elseif(get_theme_mod('sp_archive_layout') == 'full_list') : ?>
<?php if( $wp_query->current_post == 0 && !is_paged() ) : ?>
<?php get_template_part('content'); ?>
<?php else : ?>
<?php get_template_part('content', 'list'); ?>
<?php endif; ?>
<?php elseif(get_theme_mod('sp_archive_layout') == 'full_grid') : ?>
<?php if( $wp_query->current_post == 0 && !is_paged() ) : ?>
<?php get_template_part('content'); ?>
<?php else : ?>
<?php get_template_part('content', 'grid'); ?>
<?php endif; ?>
<?php else : ?>
<?php get_template_part('content'); ?>
<?php endif; ?>
<?php endwhile; ?>
<?php if(get_theme_mod('sp_archive_layout') == 'grid' || get_theme_mod('sp_archive_layout') == 'full_grid') : ?></ul><?php endif; ?>
<?php solopine_pagination(); ?>
<?php endif; ?>
</div>
<?php if(get_theme_mod('sp_sidebar_archive')) : else : ?><?php get_sidebar(); ?><?php endif; ?>
<?php get_footer(); ?>