我知道如何创建这种模板。通常,我只是启动一个自定义WordPress循环。但当我检查Genesis框架中的模板文件时,我看到:
page_blog.php:
<?php
/*
WARNING: This file is part of the core Genesis framework. DO NOT edit
this file under any circumstances. Please do all modifications
in the form of a child theme.
*/
/**
* Template Name: Blog
* This file handles blog post listings within a page.
*
* This file is a core Genesis file and should not be edited.
*
* @category Genesis
* @package Templates
* @author StudioPress
* @license http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
* @link http://www.studiopress.com/themes/genesis
*/
genesis();
这是博客页面,我很困惑。
如何创建一个模板,列出具有特定类别的帖子?