HEX
Server: Apache
System: Linux top 5.8.11-1.el7.elrepo.x86_64 #1 SMP Tue Sep 22 18:18:35 EDT 2020 x86_64
User: www (1000)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.018111.cn/wp-content/themes/jian/category.php
<?php
get_header();
$cat_ID  = get_query_var('cat');
$the_style = get_term_meta($cat_ID, 'the_style', 'true');
$last_style = ($the_style) ? $the_style : _cao( 'latest_layout', 'grid' ) ;
/////////////
$is_cao_site_list_blog = is_cao_site_list_blog();
if ($is_cao_site_list_blog) {
  $col_class = 'content-column col-lg-9';
  $latest_layout = 'bloglist';
}else{
  $col_class = 'col-lg-12';
  $latest_layout = $last_style;
}
/////////////
?>


<div class="container">
  <?php if (!get_term_meta($cat_ID, 'is_filter', 'true')) {
    get_template_part( 'parts/filter-bar' );
  } ?>


<?php do_action('jumawu.com_echo_ads', 'ad_archive_1'); ?>

  <div class="row">
    <div class="<?php echo $col_class;?>">
      <div class="content-area">
        <main class="site-main">
          <?php if ( have_posts() ) : ?>
            <div class="row posts-wrapper">
              <?php while ( have_posts() ) : the_post();
                get_template_part( 'parts/template-parts/content', $latest_layout );
              endwhile; ?>
            </div>
            <?php get_template_part( 'parts/pagination' ); ?>
          <?php else : ?>
            <?php get_template_part( 'parts/template-parts/content', 'none' ); ?>
          <?php endif; ?>
        </main>
      </div>
    </div>

    

    <?php if ($is_cao_site_list_blog) : ?>
    <!-- 侧边栏 -->
    <div class="sidebar-column col-lg-3">
      <aside class="widget-area">
        <?php dynamic_sidebar( 'blog' ); ?>
      </aside>
    </div>
    <?php endif;?>
  </div>
  <?php do_action('jumawu.com_echo_ads', 'ad_archive_2'); ?>
</div>
<?php
wp_reset_postdata();

get_footer();