HEX
Server: Apache/2.4.29 (Ubuntu)
System: Linux bareserver 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 7.2.24-0ubuntu0.18.04.17
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/html/site/newsite/wp-content/themes/ooze/template-parts/archive/entry-header-archive.php
<?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 = ooze_get_option('archive_post_meta_1');
    break;
  case 'archive_style_2':
    $enabled_post_meta = ooze_get_option('archive_post_meta_2');
    break;
  case 'archive_style_3':
    $enabled_post_meta = ooze_get_option('archive_post_meta_3');
    break;
  case 'archive_style_4':
    $enabled_post_meta = ooze_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 mb-8">
      <span class="screen-reader-text">
        <?php _e('Categories', 'ooze'); ?>
      </span>
      <div class="ooze-entry-categories">
        <?php the_category(' '); ?>
      </div>
    </div><!-- .entry-categories -->
  <?php endif; ?>

  <?php the_title('<h2 class="entry-title font-size-big line-clamp line-clamp-3"><a href="' . esc_url(get_permalink()) . '">', '</a></h2>'); ?>

  <?php if ('post' === get_post_type()): ?>
    <div class="entry-meta mb-16">
      <?php ooze_post_meta_info($enabled_post_meta); ?>
    </div><!-- .entry-meta -->
  <?php endif; ?>

  <?php if ($archive_style == 'archive_style_3') {?>
    <div class="entry-summary">
            <?php get_template_part( 'template-parts/archive/archive', $post_format ); ?>
        </div><!-- .entry-content -->

        <?php 
        if ( 'aside' != $post_format && 'status' != $post_format ) { ?>
        <footer class="entry-meta entry-meta-footer">
            <?php ooze_entry_footer($enabled_post_meta);  ?>
        </footer>
        <?php }?>
  <?php }?>

</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 image-size-big">
    <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 (ooze_get_option('show_lightbox_image')) { ?>
        <a href="<?php echo get_the_post_thumbnail_url(); ?>" class="featured-media-fullscreen" data-glightbox="">
          <?php ooze_theme_svg('fullscreen'); ?>
        </a>
      <?php } ?>
    </figure><!-- .featured-media -->
    <?php $display_read_time_in = ooze_get_option('display_read_time_in');
    if (in_array('archive-page', $display_read_time_in) && is_archive()) {
      ooze_read_time();
    }
    if (in_array('home-page', $display_read_time_in) && is_home()) {
      ooze_read_time();
    } ?>
  </div><!-- .entry-image -->
<?php endif; ?>