![]() |
wordpress 循环日志/主循环和模板/样式表的头部声明(后台显示主题名称/主题描述/作者)(
日志循环/主循环
< ?php if (have_posts()) : ?> < ?php while (have_posts()) : the_post(); ?> < ?php endwhile; ?> < ?php else : ?> < ?php endif; ?> 页面模板头部声明 在模板的顶部的注释号()中间输入模板信息,如: Template Name: train CSS样式表头部声明 在CSS样式表的开头的注释号()中间输入模板信息,如: Theme Name: dachafang Description: Description goes here Theme URI: http://www.dachafang.com/ Version: 1.0 Author: nostop Author URI: http://blog.sina.com.cn/nostop0408 Template: fixed width,two columns, portal, cms theme,red,white |
| All times are GMT +8. The time now is 10:38 PM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.