WordPress自定义模块模板

在文件顶部注释一段代码:

<?php
/*
Template Post Type: news
Template Name: single news template
*/
?>

 170 total views,  2 views today

Revisions

Comments are closed.