WordPress常用函数列表

取得时间:the_time
分页:wp_list_pages
文章列表:wp_list_categories
文章代码:post_class
显示目前文章的类别:the_category
文章标题:the_title
文章网址:the_permalink
文章内容:the_content
文章摘要:the_excerpt
文章id:the_ID
文章标签:the_tags
文章作者:the_author
文章昵称:the_author_nickname
文章引用:trackback_url
显示文章作者的描述:the_author_description
显示文章作者的登录名:the_author_login
显示文章作者的firstname(名):the_author_firstname
显示文章作者的(姓):the_author_lastname
显示文章作者的昵称:the_author_nickname
显示文章作者的ID号:the_author_ID
显示文章作者的电子邮箱:the_author_email
显示文章作者的网站地址:the_author_url
显示文章作者的网站地址:the_author_url
以文章作者名为链接名:the_author_link
显示文章作者的aim:the_author_aim
显示文章作者的yim:the_author_yim
显示文章作者已发表文章的篇数:the_author_posts
显示一个链接到文章作者已发表文章列表的链接:the_author_posts_link
显示blog作者列表:wp_list_authors(“arguments”)
订阅rss:post_comments_feed_link(“RSS 2.0″)
留言板:comments_template
日历:get_calendar
会员注册:wp_register
会员登入注销:wp_loginout
分页:
文章中断:
相关联结:wp_list_bookmarks
文章搜寻:get_search_form
回首页:bloginfo(“url”)
图片连结:bloginfo(“template_directory”)
显示blog的标题:bloginfo(“name”)
显示blog的网址:bloginfo(“url”)
显示目前blog的网址:bloginfo(“description”)
comments.php文件(评论):comments_template

50个精选的wordpress插件

50个精选的wordpress插件

模板层级

WordPress的模板文件像一个机器上的各个零部件,这些零部件共同合作,为WordPress网站生成各种类型的页面。有些模板(例如页眉模板文件和页脚模板文件)会在所有网页上出现,而其它模板只出现在特定条件下。

WordPress域名更换后日志内链接替换

上星期把www.fobg.cn换成现在的域名www.iPodMp.com,结果发现后台进不去,不仅如此,连帖子都看不到,哎,上网找了半天才知道要修改一下数据库,收藏一下吧。