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.sceybwg.com/wp-content/themes/Modular/search.php
<?php

/**
 * Template: 搜索结果列表
 * @Author: 大胡子
 * @Email:  dahuzi@xintheme.com
 * @Link:   www.xintheme.com
 * @Date:   2023-08-19 17:00:02
 * @Last Modified by:   dahuzi
 * @Last Modified time: 2023-12-25 11:31:55
 */

//头部
get_header();

//面包屑导航+搜索框
get_template_part( 'template/archive', 'search' );

$list_type = 'three';
?>
<div class="page-section">
	<div class="container">
		<div class="page-wrapper clearfix">
			<div class="page-main">
				<?php

				//文章列表
				echo '<div class="list-three mobile-list-one">';

				//文章循环
				while(have_posts()){
					the_post();
					get_template_part( 'template/loop/list', 'three' );
				}

				/*
				$the_query = new WP_Query( array(
					'post__not_in' => get_option( 'sticky_posts' ),
					'paged' => get_query_var('paged'),
					'cat' => $cat
				) );
				if ( $the_query->have_posts() ) :
					while ( $the_query->have_posts() ) : $the_query->the_post();
						get_template_part( 'template/list-item', $list_type );
					endwhile; //结束while
				//else:
				//	echo '<h3 style="padding-bottom:94px">抱歉,当前分类下暂无文章!</h3>';
				endif; //结束if
				*/
				
				?>
				</div>
				<?php
				//分页
				dahuzi_theme_pagination();?>
			</div>
		</div>
	</div>
</div>
<?php
//页脚
get_footer();