常用函数-get_theme_root_uri()2009-04-22 常用函数-get_theme_root_uri() 说明 检索 主题 目录的URI。 没有结尾斜线。 用法 <?php get_theme_root_uri() ?> 参数 无 返回的...
常用函数-get_theme_root()2009-04-22 常用函数-get_theme_root() 说明 检索主题 目录的路径。 没有结尾斜线。 用法 <?php get_theme_root() ?> 参数 无 返回的值 (字符串) 主题路径 示例 ...
常用函数-get_current_theme()2009-04-22 常用函数-get_current_theme() 说明 检索当前主题目录 用法 <?php get_template_directory() ?> 参数 无 返回的值 (字符串) 模板目录路径 示例 当...
CSS2009-04-20 CSS WordPress非常依赖于CSS的表现样式。对WordPress 1.5版本的主题介绍完毕后,用户的页面布局选项激增。如今在WordPress中改变网站外观比以往任何时候都容易,用字段可以更大程度地帮助用户创建自己的主题以及页面...
常用函数-get_themes()2009-04-18 常用函数-get_themes() 说明 在主题目录中检索含有主题数据的 主题列表。 若主题不具备父主题且丢失style.css或index.php文件,将该主题视为以损坏。若主题具备父主题但丢失style.css文件,将该主...
常用函数-get_theme()2009-04-18 常用函数-get_theme() 说明 检索 主题 信息。 用法 <?php get_theme( $theme ) ?> 参数 $theme (字符串)(必需)主题名称 默认值:None 返回的值 ...
常用函数-get_theme_data()2009-04-18 常用函数-get_theme_data() 说明 返回关于主题文件信息的数组 用法 <?php $theme_data = get_theme_data($theme_filename); ?> 示例 用法 从...
常用函数-get_template_directory_uri()2009-04-18 常用函数-get_template_directory_uri() 说明 检索模板 目录URI 用法 <?php get_template_directory_uri() ?> 参数 无 返回的值 (字符串) ...
从HTML 到XHTML2009-04-18 从HTML 到XHTML XHTML是什么 编写WordPress系统时主要使用的是XHTML脚本语言。XHTML 1.0(目前使用最广泛的版本)在2000年已经成为W3C推荐标准,在XHTML 2.0 发布前,XHTML 1.0仍然可...
常用函数-get_template_directory()2009-04-18 常用函数-get_template_directory() 说明 检索当前主题目录 用法 <?php get_template_directory() ?> 参数 无 返回的值 (字符串) 模板目录路径 ...