‘name’ – Site title (set in Settings > General)
‘description’ – Site tagline (set in Settings > General)
‘wpurl’ – The WordPress address (URL) (set in Settings > General)
‘url’ – The Site address (URL) (set in Settings > General)
‘admin_email’ – Admin email (set in Settings > General)
‘charset’ – The "Encoding for pages and feeds" (set in Settings > Reading)
‘version’ – The current WordPress version
‘html_type’ – The content-type (default: "text/html"). Themes and plugins can override the default value using the ‘pre_option_html_type’ filter
‘text_direction’ – The text direction determined by the site’s language. is_rtl() should be used instead
‘language’ – Language code for the current site
‘stylesheet_url’ – URL to the stylesheet for the active theme. An active child theme will take precedence over this value
‘stylesheet_directory’ – Directory path for the active theme. An active child theme will take precedence over this value
‘template_url’ / ‘template_directory’ – URL of the active theme’s directory. An active child theme will NOT take precedence over this value
‘pingback_url’ – The pingback XML-RPC file URL (xmlrpc.php)
‘atom_url’ – The Atom feed URL (/feed/atom)
‘rdf_url’ – The RDF/RSS 1.0 feed URL (/feed/rfd)
‘rss_url’ – The RSS 0.92 feed URL (/feed/rss)
‘rss2_url’ – The RSS 2.0 feed URL (/feed)
‘comments_atom_url’ – The comments Atom feed URL (/comments/feed)
‘comments_rss2_url’ – The comments RSS 2.0 feed URL (/comments/feed)
wordPress bloginfo()函数
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...