WordPress中的meta标签2009-04-27 WordPress中的meta标签 搜索引擎浏览博客时会搜集博客名称、文章标题、内容以及meta标签(如说明或关键字等)等信息。搜索引擎比较各个版块内的信息,然后根据信息的匹配程度为博客站点排名。下面将详细介绍如何最大程度地利用meta标...
常用函数-get_single_template()2009-04-27 常用函数-get_single_template() 说明 检索当前模板或父模板的single模板路径 用法 <?php get_single_template() ?> 参数 无 返回的值 (字符串) 返...
常用函数-get_search_template()2009-04-27 常用函数-get_search_template() 说明 检索当前模板或父模板的搜索模板路径 用法 <?php get_search_template() ?> 参数 无 返回的值 (字符串) 返回get...
运行中的The Loop(主循环)2009-04-25 运行中的The Loop(主循环) 简介 “The Loop”是一个涉及WordPress主要进程的术语。用户可以在模板文件中使用The Loop为访问者显示文章。不使用The Loop也可以制作模板,但只能显示一篇文章的信息。 ...
常用函数-get_date_template()2009-04-25 常用函数-get_date_template() 说明 检索当前模板或父模板的时间模板路径。 用法 <?php get_date_template() ?> 参数 无 返回的值 (字符串) 返回 get_q...
常用函数-get_home_template()2009-04-25 常用函数-get_home_template() 说明 检索当前模板或父模板的home模板路径。 函数退回'index.php'前尝试定位'home.php'。 用法 <?php get_home_template() ...
常用函数-get_page_template()2009-04-25 常用函数-get_page_template() 说明 检索当前模板或父模板的页面模板路径。 函数首先尝试在'_wp_page_template'页面meta数据中寻找文件。若文件存在且不为空,函数继续寻找'page.php'。 ...
常用函数-get_paged_template()2009-04-25 常用函数-get_paged_template() 说明 检索当前模板或父模板的页面式模板路径 用法 <?php get_paged_template() ?> 参数 无 返回的值 (字符串) 返回get_...
小窥WordPress2.8插件管理界面2009-04-25 WordPress2.8插件管理页面将对用户行为进行保存,我们可以看到插件表格的上方多了"All", "Active", "Recently Active"等导航链接。此外,...
常用函数-get_author_template()2009-04-24 常用函数-get_author_template() 说明 检索当前模板或父模板的作者模板路径。 用法 <?php get_author_template() ?> 参数 无 返回的值 (字符串) 返回 g...
常用函数-get_category_template()2009-04-24 常用函数-get_category_template() 说明 检索当前模板或父模板的类别模板路径。 通过检索当前类别编号(如'category-1.php')可查到该类别的模板路径,若类别编号不存在,则退回category.ph...