使用Wordpress主题,需要将信息添加到style.css文件的顶部:从Wordpress中的style.css文件获取主题信息
例如;对于默认主题是这样的:
/*
Theme Name: WordPress Default
Theme URI: http://wordpress.org/
Description: The default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.
Version: 1.6
Author: Michael Heilemann
Author URI: http://binarybonsai.com/
Tags: blue, custom header, fixed width, two columns, widgets
*/
是否有任何wordpress函数以编程方式获取此信息?
正是我所需要的。谢谢。 – Abizern 2009-12-03 16:53:56