HEX
Server: nginx/1.16.1
System: Linux VM-0-14-centos 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64
User: www (1000)
PHP: 8.3.31
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.sceycy.com/wp-content/themes/Zing-Pro/archive/news.php
<?php
$category_data = get_term_meta( $cat, '_prefix_taxonomy_options', true );
$banner_img = isset( $category_data['cat_banner_img']['url'] ) ? $category_data['cat_banner_img']['url'] : '';
get_header();
if( $banner_img ){?>
    <div class="module-default produc-cat">
        <div class="responsive-carousel carousel clearfix">
			<div class="carousel-item">
                <img src="<?php echo $banner_img;?>">
            </div>
            <?php if( $category_data['banner_cat_desc'] ){?>
			<div class="dark-overlay"></div>
			<div class="page-width ">
				<div class="page-banner">
					<h2><?php single_term_title(); ?></h2>
					<?php echo category_description(); ?>
				</div>
			</div>
			<?php }?>
        </div>
    </div>
<?php }?>
		<section class="main">
		<div class="page-width clearfix news-mb">
			<section class="content float-right">
			<div class="breadcrumbs">
				<?php if (function_exists('get_breadcrumbs')){get_breadcrumbs(); } ?>
			</div>
			<div class="content-box">
					<div class="module-inner">
						<div class="module-content">
							<div class="entry-list entry-list-article entry-list-time-hl">
								<?php while( have_posts() ): the_post(); ?> 
								<div class="entry-item not-animated"<?php echo data_animate();?>>
									<div class="time">
									<?php if( get_locale() == 'en_US' ){?>
										<p class="time-day">
											<?php the_time('d') ?>
										</p>
										<p class="time-date">
											<?php the_time('m / Y') ?>
										</p>
									<?php }else{?>
										<p class="time-day">
											<?php the_time('d') ?>
										</p>
										<p class="time-date">
											<?php the_time('Y-m') ?>
										</p>
									<?php }?>
									</div>
									<div class="entry-title">
										<h2><a href="<?php the_permalink(); ?>"><?php the_title_attribute(); ?></a></h2>
									</div>
									<div class="entry-summary">
										<div class="qhd-content">
											<p>
											<?php
											if( has_excerpt() ){
												$get_the_excerpt = wp_strip_all_tags(get_the_excerpt());
												echo mb_strimwidth($get_the_excerpt, 0, 250, '...');
											}else{
												echo mb_strimwidth(strip_tags($post->post_content),0,250,'...');
											}?>
											</p>
										</div>
									</div>
								</div>
								<?php endwhile; ?>
							</div>
							<div class="pagination pagination-default">
								<?php par_pagenavi(9); ?>
							</div>
						</div>
					</div>
			</div>
			</section>
			<?php get_sidebar();?>
		</div>
		</section>
<?php get_footer();?>