- 自动的功能还是少用~
1 小时 43 分钟之前 - 自动的功能还是少用~
1 小时 43 分钟之前 - 不需要激活的也激活了,不是很方便。
2 小时 7 分钟之前 - 这个很好,嘿嘿。我用
6 小时 8 分钟之前 - 期待新的革命啊
6 小时 37 分钟之前 - 好喜感
6 小时 38 分钟之前 - 这模板不错 带走
6 小时 38 分钟之前 - 不错 喜欢
6 小时 42 分钟之前 - 好强啊
6 小时 43 分钟之前 - 请问添加在functions.php那个部分?我添加了,但
16 小时 42 分钟之前
该标签显示用户博客的相关信息,这些信息通常来自用户在WordPress网站后台“我的配置”和“设置>常规”菜单中填写的内容。该标签可以用在页面模板的任何区域内,且该标签总是将结果输出给浏览器。如果用户需要将输出内容用在PHP中,请使用get_bloginfo()。
<?php bloginfo('show'); ?>
显示博客标题
在<h1>标签中显示博客标题
<h1><?php bloginfo('name'); ?></h1>
显示字符集
显示用户博客所使用的字符集(如:utf-8)
<p>Character set: <?php bloginfo('charset'); ?> </p>
显示博客说明
显示用户在设置>常规中设定的博客标语
<p><?php bloginfo('description'); ?> </p>注意其中的目录URL中没有结尾斜线。
admin_email = admin@example
atom_url = http://example/home/feed/atom
charset = UTF-8
comments_atom_url = http://example/home/comments/feed/atom
comments_rss2_url = http://example/home/comments/feed
description = Just another WordPress blog
url = http://example/home
html_type = text/html
language = en-US
name = Testpilot
pingback_url = http://example/home/wp/xmlrpc.php
rdf_url = http://example/home/feed/rdf
rss2_url = http://example/home/feed
rss_url = http://example/home/feed/rss
siteurl = http://example/home
stylesheet_directory = http://example/home/wp/wp-content/themes/largo
stylesheet_url = http://example/home/wp/wp-content/themes/largo/style.css
template_directory = http://example/home/wp/wp-content/themes/largo
template_url = http://example/home/wp/wp-content/themes/largo
text_direction = ltr
version = 2.7
wpurl = http://example/home/wp
发表新评论