HEX
Server: nginx/1.25.5
System: Linux hcss-ecs-9064 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: 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/885213.cn/wp-content/themes/newsexo/template-parts/index-trending-news.php
<?php 
$newsexo_trending_news_disabled = get_theme_mod('newsexo_trending_news_disabled', true); 
$newsexo_trending_news_area_title = get_theme_mod('newsexo_trending_news_area_title', __('TRENDING NEWS', 'newsexo'));
$newsexo_theme_trending_news_category = get_theme_mod('newsexo_theme_trending_news_category');

if($newsexo_trending_news_disabled == true): ?>
	<!-- Trending News Scroll Marquee -->
	<section id="content" class="trending-news-area wow animate fadeInUp" data-wow-delay=".3s">
		<div class="container-full">
			<div class="row g-lg-3">
				<div class="col-lg-12">
					<div class="trending-news-col align-items-center"> 
						<div class="heading">
						<?php if($newsexo_trending_news_area_title != null): ?>	
							<h5><?php echo esc_html($newsexo_trending_news_area_title);?> <i class="fa-solid fa-person-walking-arrow-right fa-flip" style="--fa-animation-duration: 3s;"></i></h5>
					    <?php endif;  ?>
						</div> 
						<div class="news-content-area align-items-center"> 
							<marquee behavior="scroll" direction="left" scrollamount="7" class="trending-news-content" onmouseover="this.stop();" onmouseout="this.start();">
							<?php
							$post_args = array( 'post_type' => 'post', 'posts_per_page' => 5 , 'category__in' => $newsexo_theme_trending_news_category, 'post__not_in'=>get_option("sticky_posts")) ;
								query_posts( $post_args );
								if(query_posts( $post_args ))
								{	
									while(have_posts()):the_post();
									{ ?>	
										<a href="<?php the_permalink(); ?>">
											<?php the_post_thumbnail(); ?>	
											<h6 class="aft-flashnews-title"><?php the_title();?></h6>
										</a>
									<?php }  
									endwhile;
									wp_reset_query();									
								} ?>
				                </marquee>
			            </div> 
					</div> 
				</div>
			</div>
		</div>
	</section>
	<!-- End of Trending News Scroll Marquee -->
<?php endif; ?>