Code Bible & Quick References

Web Design WordPress Template Tag Reference Guide -
Click tag Name or Description to View Available Code

this brilliant page is put here as a bookmark for my own personal use and was created by DBS Interactive I take no credit and if you are reading this, how in the heck did you get here? Welcome this is my copy in case they take it off their server, they may have a more updated copy or WordPress.org Codex is the bible for WordPress.

Author Template Tags -
Click tag Name or Description to View Available Code

Author the_author();

Author Description the_author_description();

Author Login the_author_login();

Author First Name the_author_firstname();

Author Last Name the_author_lastname();

Author Nickname the_author_nickname();

Author ID the_author_ID();

Author Emailthe_author_email();

Author Website URLthe_author_url();

Author Linkthe_author_link();

Author AIM Screennamethe_author_aim();

Author Yahoo IM IDthe_author_yim();

Author Poststhe_author_posts();

Author Posts Linkthe_author_posts_link();

Author Listwp_list_authors();

Category Template Tags -
Click tag Name or Description to View Available Code

Post Categorythe_category();

Post Category in RSS Formatthe_category_rss();

Page Category Titlesingle_cat_title();

Category Descriptioncategory_description();

Category Dropdownwp_dropdown_categories(‘arguments’);

Category Link Listwp_list_categories();

If In Categoryin_category();

Category’s Parents Listget_category_parents();

Category Arrayget_the_category();

Comment Template Tags -
Click tag Name or Description to View Available Code

Comment Countcomments_number();

Link to Post Commentscomments_link();

Link to RSS Feed of Post Commentscomments_rss_link();

JavaScript for Pop-Up Windowcomments_popup_script();

Link to Pop-Up Windowcomments_popup_script();

Comment IDcomment_ID();

Author of Commentcomment_author();

IP Address of Comment Authorcomment_author_IP();

Email of Comment Authorcomment_author_email();

Website URL of Comment Authorcomment_author_url();

Mailto Link to Comment Authorcomment_author_email_link();

Link to Website URL of Comment Authorcomment_author_link();

Type of Commentcomment_type();

Comment Textcomment_text();

Comment Excerptcomment_excerpt();

Date of Commentcomment_date();

Time of Commentcomment_time();

Comment Author’s Name Formatted for RSScomment_author_rss();

Comment Text Formatted for RSScomment_text_rss();

Comment Link Formatted for RSScomment_link_rss();

Comment Permalink Formatted for RSSpermalink_comments_rss();

Date & Time Template Tags -
Click tag Name or Description to View Available Code

Post Date (xml)the_date_xml();

Post Datethe_date();

Post Timethe_time();

Date (and Time) of Last Modification to Postthe_modified_date();

Time (and Date) of Last Modification to Postthe_modified_time();

Post Time (PHP)get_the_time();

Current Page Month & Year Titlesingle_month_title();

Post Calendarget_calendar();

General Template Tags -
Click tag Name or Description to View Available Code

Blog Info and Useful Blog URL’sbloginfo();

Blog Info RSSbloginfo_rss();

Blog Info (PHP)get_bloginfo();

Blog Info RSS (PHP)get_bloginfo_rss();

Page Titlewp_title();

Get Postsget_posts;

Archives Listwp_get_archives();

Page Link Listwp_list_pages();

Page Dropdownwp_dropdown_pages();

Login/Logout Linkwp_loginout();

Register/Site Admin Linkwp_register();

Query Postsquery_posts();

RSS Enclosuresrss_enclosure();

Tag Cloudwp_tag_cloud();

Search Querythe_search_query();

Link Template Tags -
Click tag Name or Description to View Available Code

‘Edit Post’ Linkedit_post_link();

‘Edit Comment’ Linkedit_comment_link();

Page Linkswp_page_links();

Yearly Archive URLget_year_link();

Monthly Archive URLget_month_link();

Daily Archive URLget_day_link();

Previous Post Linksnext_posts_link();

Permalink Template Tags -
Click tag Name or Description to View Available Code

Permalink Anchorpermalink_anchor();

Permalink (PHP)get_permalink();

Permalink URLthe_permalink();

Permalink (formatted for syndication feeds)permalink_single_rss();

Post Template Tags -
Click tag Name or Description to View Available Code

Post IDthe_ID();

Post Titlethe_title();

Post Title (Attribute)the_title_attribute();

Single Post Titlesingle_post_title();

Post Title (RSS)the_title_rss();

Post Contentthe_content();

Post Content (RSS)the_content_rss();

Post Excerptthe_excerpt();

Post Excerpt (RSS)the_excerpt_rss();

Previous Post Linkprevious_post_link();

Next Post Linknext_post_link();

Post Nav Linksposts_nav_link();

Post Metathe_meta();

Post Tagsthe_tags();

Post Countwp_count_posts();

Tag Template Tags -
Click tag Name or Description to View Available Code

Tag Cloudwp_tag_cloud();

Tag Arrayget_the_tags();

Tag Listget_the_tag_list();

Tag Title for Current Pagesingle_tag_title();


About the Author