常用函数-get_template_directory() 常用函数-get_template_directory() 常用函数-get_template_directory() 说明 检索当前主题目录 用法 <?php g... 最后更新 2022.03.26
常用函数-get_theme_data() 常用函数-get_theme_data() 常用函数-get_theme_data() 说明 返回关于主题文件信息的数组 用法 <?php $the... 最后更新 2022.03.26
常用函数-get_template_directory_uri() 常用函数-get_template_directory_uri() 常用函数-get_template_directory_uri() 说明 检索模板 目录URI 用法 <... 最后更新 2022.03.26
常用函数-get_theme() 常用函数-get_theme() 常用函数-get_theme() 说明 检索 主题 信息。 用法 <?php get_theme( $t... 最后更新 2022.03.26
常用函数-get_themes() 常用函数-get_themes() 常用函数-get_themes() 说明 在主题目录中检索含有主题数据的 主题列表。 若主题不具备父主题且丢失... 最后更新 2022.03.26
常用函数-get_current_theme() 常用函数-get_current_theme() 常用函数-get_current_theme() 说明 检索当前主题目录 用法 <?php get_te... 最后更新 2022.03.26
常用函数-get_theme_root() 常用函数-get_theme_root() 常用函数-get_theme_root() 说明 检索主题 目录的路径。 没有结尾斜线。 用法 <?ph... 最后更新 2022.03.26
常用函数-get_theme_root_uri() 常用函数-get_theme_root_uri() 常用函数-get_theme_root_uri() 说明 检索 主题 目录的URI。 没有结尾斜线。 用法 &... 最后更新 2022.03.26
常用函数-get_query_template() 常用函数-get_query_template() 常用函数-get_query_template() 说明 不用扩展名检索文件路径。 该函数可不检查文件扩展名而... 最后更新 2022.03.26
常用函数-get_archive_template() 常用函数-get_archive_template() 常用函数-get_archive_template() 说明 在当前模板或父模板中检索存档模板路径 用法 &l... 最后更新 2022.03.26
常用函数-get_404_template() 常用函数-get_404_template() 常用函数-get_404_template() 说明 检索当前模板或父模板的404模板路径 用法 <?p... 最后更新 2022.03.26
常用函数-get_category_template() 常用函数-get_category_template() 常用函数-get_category_template() 说明 检索当前模板或父模板的类别模板路径。 通过检索... 最后更新 2022.03.26
常用函数-get_paged_template() 常用函数-get_paged_template() 常用函数-get_paged_template() 说明 检索当前模板或父模板的页面式模板路径 用法 <... 最后更新 2022.03.26
常用函数-get_page_template() 常用函数-get_page_template() 常用函数-get_page_template() 说明 检索当前模板或父模板的页面模板路径。 函数首先尝试在&... 最后更新 2022.03.26
常用函数-get_date_template() 常用函数-get_date_template() 常用函数-get_date_template() 说明 检索当前模板或父模板的时间模板路径。 用法 <?... 最后更新 2022.03.26
常用函数-get_home_template() 常用函数-get_home_template() 常用函数-get_home_template() 说明 检索当前模板或父模板的home模板路径。 函数退回&#... 最后更新 2022.03.26
运行中的The Loop(主循环) 运行中的The Loop(主循环) 运行中的The Loop(主循环) 简介 “The Loop”是一个涉及WordPress主要进程的术语。用户... 最后更新 2022.03.26
常用函数-get_search_template() 常用函数-get_search_template() 常用函数-get_search_template() 说明 检索当前模板或父模板的搜索模板路径 用法 <... 最后更新 2022.03.26
常用函数-get_single_template() 常用函数-get_single_template() 常用函数-get_single_template() 说明 检索当前模板或父模板的single模板路径 用法 ... 最后更新 2022.03.26
常用函数-load_template() 常用函数-load_template() 常用函数-load_template() 说明 在WordPress环境中命令模板文件。 为模板文件设置全局变... 最后更新 2022.03.26