40 Shortcodes available via the Template Tag Shortcodes plugin

Template Tag Shortcodes is a plugin that turns many of the WordPress template tags into easy-to-use shortcodes that can be used in a post, page, text widget, header text, or footer text.

To use any of the following shortcodes, you need go to Dashboard → Plugins, and activate the Template Tags Shortcodes plugin.

The following information was taken from the plugin’s readme file.

Thank you to Justin Tadlock for writing the plugin.

Each of the shortcodes are listed below. Click the relevant link to see the WordPress Codex article which describes what each of the parameters do.

Author Shortcodes

[wp_list_authors]
Template Tag: wp_list_authors()
Parameters: optioncountexclude_adminshow_fullnamehide_emptyfeedfeed_imagestyle,html
[the_author_meta]
Template Tag: the_author_meta()
Parameters: fielduser_id
[the_author]
Template Tag: the_author()
This shortcode has no parameters.
[the_author_description]
Template Tag: the_author_description()
This shortcode has no parameters.
[the_author_login]
Template Tag: the_author_login()
This shortcode has no parameters.
[the_author_firstname]
Template Tag: the_author_firstname()
This shortcode has no parameters.
[the_author_lastname]
Template Tag: the_author_lastname()
This shortcode has no parameters.
[the_author_nickname]
Template Tag: the_author_nickname()
This shortcode has no parameters.
[the_author_ID]
Template Tag: the_author_ID()
This shortcode has no parameters.
[the_author_url]
Template Tag: the_author_url()
This shortcode has no parameters.
[the_author_email]
Template Tag: the_author_email()
This shortcode has no parameters.
[the_author_link]
Template Tag: the_author_link()
This shortcode has no parameters.
[the_author_aim]
Template Tag: the_author_aim()
This shortcode has no parameters.
[the_author_yim]
Template Tag: the_author_yim()
This shortcode has no parameters.
[the_author_posts]
Template Tag: the_author_posts()
This shortcode has no parameters.
[the_author_posts_link]
Template Tag: the_author_posts_link()
This shortcode has no parameters.
[the_modified_author]
Template Tag: the_modified_author()
This shortcode has no parameters.

Category Shortcodes

[wp_list_categories]
Template Tag: wp_list_categories()
Parameters: show_option_allorderorderbyshow_last_updatestyleshow_count,hide_emptyuse_desc_for_titlechild_offeedfeed_imageexcludeinclude,current_categoryhierarchicaltitle_liechodepthnumber
[wp_dropdown_categories]
Template Tag: wp_dropdown_categories()
Parameters: show_option_noneshow_option_allorderorderbyshow_last_updatestyle,show_counthide_emptyuse_desc_for_titlechild_offeedfeed_imageexcludeinclude,current_categoryhierarchicaltitle_liechodepthnumberselectednameclass,postform
[the_category]
Template Tag: the_category()
Parameters: separatorparents
[get_category_link]
Template Tag: get_category_link()
Parameters: category_id

Date and Time Shortcodes

[the_date]
Template Tag: the_date()
Parameters: formatbeforeafter
[the_time]
Template Tag: the_time()
Parameters: format
[the_modified_date]
Template Tag: the_modified_date()
Parameters: format
[the_modified_time]
Template Tag: the_modified_time()
Parameters: format

Tag shortcodes

[wp_tag_cloud]
Template Tag: wp_tag_cloud()
Parameters: taxonomysmallestlargestunitnumberformatorderorderbyexclude,includelink
[the_tags]
Template Tag: the_tags()
Parameters: beforeseparatorafter
[get_tag_link]
Template Tag: get_tag_link()
Parameters: tag_id

Taxonomy shortcodes

[the_terms]
Parameters: idtaxonomyseparatorbeforeafter
[term_description]
Template Tag: term_description()
Parameters: termtaxonomy

Bookmarks/Links shortcodes

[wp_list_bookmarks]
Template Tag: wp_list_bookmarks()
Parameters: categorizecategoryexclude_categorycategory_namecategory_before,category_afterclasscategory_orderbycategory_ordertitle_lititle_before,title_aftershow_privateincludeexcludeorderbyorderlimitbeforeafter,link_beforelink_afterbetweenshow_imagesshow_descriptionshow_nameshow_rating,show_updatedhide_invisible

Post Shortcodes

[the_title]
Template Tag: the_title()
Parameters: beforeafter
[the_title_attribute]
Template Tag: the_title_attribute()
Parameters: beforeafter
[the_ID]
Template Tag: the_ID()
This shortcode has no parameters.
[the_permalink]
Template Tag: the_permalink()
This shortcode has no parameters.
[get_permalink]
Template Tag: get_permalink()
Parameters: id
[comments_link]
Template Tag: comments_link()
This shortcode has no parameters.

General Shortcodes

[wp_list_pages]
Template Tag: wp_list_pages()
Parameters: depthshow_datedate_formatchild_ofexcludeincludetitle_liauthors,sort_columnlink_beforelink_afterexclude_treesort_orderdepthhierarchical,meta_keymeta_value
[wp_dropdown_pages]
Template Tag: wp_dropdown_pages()
Parameters: nameshow_option_noneselecteddepthshow_datedate_formatchild_of,excludeincludetitle_liauthorssort_columnexclude_treesort_orderdepth,hierarchicalmeta_keymeta_value
[wp_get_archives]
Template Tag: wp_get_archives()
Parameters: typelimitformatbeforeaftershow_post_count
[bloginfo]
Template Tag: bloginfo()
Parameters: show
[allowed_tags]
Template Tag: allowed_tags
This shortcode has no parameters.
[wp_logout_url]
Template Tag: wp_logout_url()
Parameters: redirect
[wp_login_url]
Template Tag: wp_login_url()
Parameters: redirect