php WP - 主题 - Shoptimizer - 没有标题页面模板
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php WP - 主题 - Shoptimizer - 没有标题页面模板相关的知识,希望对你有一定的参考价值。
<?php
/**
* The template for displaying full width pages without a heading.
*
* Template Name: Full width (no heading)
*
* @package shoptimizer
*/
get_header();
?>
<div id="primary" class="content-area">
<main id="main" class="site-main">
<?php while ( have_posts() ) : the_post();
do_action( 'shoptimizer_page_before' );
get_template_part( 'content', 'page' );
/**
* Functions hooked in to shoptimizer_page_after action
*
* @hooked shoptimizer_display_comments - 10
*/
do_action( 'shoptimizer_page_after' );
endwhile; // End of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_footer();
以上是关于php WP - 主题 - Shoptimizer - 没有标题页面模板的主要内容,如果未能解决你的问题,请参考以下文章
学习笔记5——wp主题开发
html [wp - 安全]检查wp主题#wordpress
WP主题模板制作修改教程
wp_dequeue_script 用于子主题替换脚本
WP 主题在 FF 中无法正确显示
WP主题检查插件错误未显示位置