WordPress 模板函数使用和简介

返回>>逍遥乱弹

用户 模板函数

用户 the_author();

用户描叙 the_author_description();

用户登陆 the_author_login();

用户的姓 the_author_firstname();

显示用户的名 the_author_lastname();

用户昵称 the_author_nickname();

用户ID the_author_ID();

用户的邮箱the_author_email();

用户的网站the_author_url();

用户的连接the_author_link();

Author AIM Screennamethe_author_aim();

用户的 Yahoo IM IDthe_author_yim();

用户所有文章the_author_posts();

用户文章链接the_author_posts_link();

用户清单wp_list_authors();

分类 模板函数

文章分类the_category();

分类RSSthe_category_rss();

页面分类标题single_cat_title();

分类描叙category_description();

分类下拉菜单wp_dropdown_categories('arguments');

Category Link Listwp_list_categories();

If In Categoryin_category();

Category's Parents Listget_category_parents();

Category Arrayget_the_category();

评论 模板函数

评论数目comments_number();

链接到日志的评论comments_link();

链接到日志评论的RSScomments_rss_link();

JavaScript for Pop-Up Windowcomments_popup_script();

Link to Pop-Up Windowcomments_popup_script();

评论IDcomment_ID();

评论者comment_author();

评论者的IPcomment_author_IP();

评论者的邮箱comment_author_email();

评论者的WebSitecomment_author_url();

评论者的邮箱链接comment_author_email_link();

评论者的网站链接comment_author_link();

Type of Commentcomment_type();

评论本文comment_text();

评论简介comment_excerpt();

评论日期comment_date();

评论时间comment_time();

所有评论者的RSScomment_author_rss();

评论RSScomment_text_rss();

评论链接RSScomment_link_rss();

评论永久链接RSSpermalink_comments_rss();

日期&时间模板函数

文章日期 (xml)the_date_xml();

文章日期the_date();

文章时间the_time();

文章最后修改日期the_modified_date();

文章修改最后时间the_modified_time();

文章时间get_the_time();

Current Page Month & Year Titlesingle_month_title();

Post Calendarget_calendar();

总体 模板函数

博客信息bloginfo();

博客RSSbloginfo_rss();

Blog Info (PHP)get_bloginfo();

Blog Info RSS (PHP)get_bloginfo_rss();

页面标题wp_title();

获得文章get_posts;

存档清单wp_get_archives();

页面链接清单wp_list_pages();

Page Dropdownwp_dropdown_pages();

登陆/登出的链接wp_loginout();

注册/管理的连接wp_register();

调用日志query_posts();

RSS Enclosuresrss_enclosure();

标签wp_tag_cloud();

调用搜索the_search_query();

链接 模板函数

'修改文章'链接edit_post_link();

'修改评论'链接edit_comment_link();

页面链接wp_page_links();

年存档链接get_year_link();

月存档链接get_month_link();

日存档链接get_day_link();

上一篇文章链接next_posts_link();

永久链接 模板函数

Permalink Anchorpermalink_anchor();

Permalink (PHP)get_permalink();

Permalink URLthe_permalink();

Permalink (formatted for syndication feeds)permalink_single_rss();

文章 模板函数

文章IDthe_ID();

文章标题the_title();

Post Title (Attribute)the_title_attribute();

单页文章标题single_post_title();

文章标题RSSthe_title_rss();

文章全文the_content();

文章全文RSSthe_content_rss();

文章简介the_excerpt();

文章简介RSSthe_excerpt_rss();

上篇文章链接previous_post_link();

下篇文章链接next_post_link();

Post Nav Linksposts_nav_link();

Post Metathe_meta();

文章标签the_tags();

文章数目wp_count_posts();

标签 模板函数

标签云wp_tag_cloud();

文章标签get_the_tags();

标签清单get_the_tag_list();

Tag Title for Current Pagesingle_tag_title();