WordPress: Function Reference/get page by title:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: == Description == The Function, '''get_page_by_title()''', returns a page object when given a string parameter containing the page name. The page name correlates to the Title text field w...)
 
无编辑摘要
第1行: 第1行:
== Description ==
== Description ==
==描述==
The Function, '''get_page_by_title()''', returns a page object when given a string parameter containing the page name. The page name correlates to the Title text field when creating or editing a page in the administration panel.
The Function, '''get_page_by_title()''', returns a page object when given a string parameter containing the page name. The page name correlates to the Title text field when creating or editing a page in the administration panel.
'''get_page_by_title()'''函数得到一个包含网页名称的字符串参数的时候,会返回网页object。在管理面板上创建或者编辑网页的时候,网页名与标题文本区相关。

2008年7月19日 (六) 14:25的版本

Description

描述

The Function, get_page_by_title(), returns a page object when given a string parameter containing the page name. The page name correlates to the Title text field when creating or editing a page in the administration panel.

get_page_by_title()函数得到一个包含网页名称的字符串参数的时候,会返回网页object。在管理面板上创建或者编辑网页的时候,网页名与标题文本区相关。