我是WordPress主题开发中的新手,关于模板文件中包含的page.php页面(描述静态页面模板的文件),我有以下问题
我是analazyng包含在page.php文件中的20 30默认主题,该文件的代码是:
<?php
/**
* The template for displaying all pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that other
我有一个博客索引页面,上面有博客文章和摘录列表。一旦我点击“阅读更多”的链接,完整的博客文章将被打开,但没有标题和创建日期。
博客索引的结构如下:
{% for post in paginator.posts %}
<div class="entry">
<h1>{{ post.title }}</h1>
<span class="date"><i class="fa fa-clock-o"></i> {{ post