代码拉取完成,页面将自动刷新
<?php
/*
Template Name: 通用页面
*/
?>
<?php get_header(); ?>
<div id="big-sousuo" class="big-sousuo flex">
<label class="screen-reader-text" for="s"></label>
<form>
<input type="text" value="<?php the_search_query(); ?>" name="s" id="s" placeholder="search...">
<button type="submit"></button>
</form>
</div>
<!-- 主体 -->
<div class="page-main-box">
<div class="main-box">
<header class="open-header">
<div class="inner">
<div class="wp">
<span class="doc-touxiang"></span>
<h1 class="open-title"><?php the_title(); ?> </h1>
</div>
</div>
</header>
<div id="page-main" class="page-main">
<?php if( have_posts() ) : while( have_posts() ) : the_post(); ?>
<article id="page" class="page">
<div class="article-content">
<?php the_content(); ?>
</div>
</article>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
<?php get_footer(); ?>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。