| Server IP : 54.36.91.62 / Your IP : 216.73.216.15 Web Server : Apache System : Linux webm021.cluster127.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : uxhactp ( 169076) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/uxhactp/www/wp-content/themes/applica/template-parts/archive/ |
Upload File : |
<?php
// Don't show the title if the post-format is `aside` or `status`.
$post_format = get_post_format();
if ($archive_style != 'archive_style_4') {
if ('aside' === $post_format || 'status' === $post_format) {
return;
}
}
$enabled_post_meta = '';
switch ($archive_style) {
case 'archive_style_1':
$enabled_post_meta = applica_get_option('archive_post_meta_1');
break;
case 'archive_style_2':
$enabled_post_meta = applica_get_option('archive_post_meta_2');
break;
case 'archive_style_3':
$enabled_post_meta = applica_get_option('archive_post_meta_3');
break;
case 'archive_style_4':
$enabled_post_meta = applica_get_option('archive_post_meta_4');
break;
default:
// code...
break;
}
?>
<header class="entry-header">
<?php if (in_array('category', $enabled_post_meta) && has_category()): ?>
<div class="entry-categories">
<span class="screen-reader-text">
<?php _e('Categories', 'applica'); ?>
</span>
<div class="applica-entry-categories mb-8">
<?php the_category(' '); ?>
</div>
</div><!-- .entry-categories -->
<?php endif; ?>
<?php the_title('<h2 class="entry-title font-size-big line-clamp line-clamp-2 mb-8"><a href="' . esc_url(get_permalink()) . '">', '</a></h2>'); ?>
<?php if ('post' === get_post_type()): ?>
<div class="entry-meta mb-16">
<?php applica_post_meta_info($enabled_post_meta); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
</header><!-- .entry-header -->
<?php
if ($archive_style != 'archive_style_4') {
if ('gallery' === $post_format || 'audio' === $post_format || 'video' === $post_format) {
return;
}
}
?>
<?php if (has_post_thumbnail() && !post_password_required()): ?>
<div class="entry-image">
<figure class="featured-media">
<a href="<?php the_permalink(); ?>">
<?php the_post_thumbnail('full'); ?>
</a>
<?php
$caption = get_the_post_thumbnail_caption();
if ($caption) {
?>
<figcaption class="wp-caption-text">
<?php echo wp_kses_post($caption); ?>
</figcaption>
<?php
}
?>
<?php if (applica_get_option('show_lightbox_image')) { ?>
<a href="<?php echo get_the_post_thumbnail_url(); ?>" class="featured-media-fullscreen" data-glightbox="">
<?php applica_theme_svg('fullscreen'); ?>
</a>
<?php } ?>
</figure><!-- .featured-media -->
<?php $display_read_time_in = applica_get_option('display_read_time_in');
if (in_array('archive-page', $display_read_time_in) && is_archive()) {
applica_read_time();
}
if (in_array('home-page', $display_read_time_in) && is_home()) {
applica_read_time();
} ?>
</div><!-- .entry-image -->
<?php endif; ?>