Skip to content

Shortcodes

This theme comes with a number of shortcodes available to use in page and posts contents.

Content

NameDescriptionExample
thb_latest_postsLatest posts[thb_latest_posts num="3"]
thb_popular_postsPopular posts[thb_popular_posts num="3"]
thb_category_postsPosts from a category[thb_category_posts num="3" cat="1"]
thb_related_postsRelated posts[thb_related_posts num="3"]
thb_tag_cloudTag cloud[thb_tag_cloud]
thb_pagePage[thb_page id="1"]

Utility

NameDescriptionExample
thb_mapMap[thb_map latlong="..." height="300"]
thb_buttonButton[thb_button size="" color="grey/graphite/red/blue/green/yellow/purple" url="" text=""]

Social

NameDescriptionExample
thb_flickrFlickr[thb_flickr id="..." num="3"]
thb_twitterTwitter[thb_twitter user="..." num="3"]
thb_socialSocial networks[thb_twitter user="..." num="3"]

Media

NameDescriptionExample
thb_galleryGallery[thb_gallery]
thb_audioAudio[thb_audio src="..."]
thb_videoAudio[thb_video url="..."]

Layout

NameDescriptionExample
thb_one_third1/3 column[thb_one_third]...[/thb_one_third]
thb_two_thirds2/3 column[thb_two_thirds]...[/thb_two_thirds]
thb_one_fourth1/4 column[thb_one_fourth]...[/thb_one_fourth]
thb_two_fourths2/4 column[thb_one_fourth]...[/thb_one_fourth]
thb_three_fourths3/4 column[thb_three_fourths]...[/thb_three_fourths]
thb_one_fifth1/5 column[thb_one_fifth]...[/thb_one_fifth]
thb_two_fifths2/5 column[thb_two_fifths]...[/thb_two_fifths]
thb_three_fifths3/5 column[thb_two_fifths]...[/thb_two_fifths]
thb_four_fifths4/5 column[thb_four_fifths]...[/thb_four_fifths]
thb_dividerDivider[thb_divider]
thb_messageMessage[thb_message type="error/success/warning/info/notice"]...[/thb_message]
thb_iconIcon[thb_icon url="..."]
thb_boxBox[thb_box icon="..."]...[/thb_box]
thb_toggleToggle[thb_toggle title=""]...[/thb_toggle]
thb_accordionAccordionthb_accordion] [thb_toggle title=""]...[/thb_toggle] [thb_toggle title=""]...[/thb_toggle] [/thb_accordion]
thb_tabsTabs[thb_tabs] [thb_tab title=""]...[/thb_tab] [/thb_tabs]
thb_tabTab[thb_tab title=""]...[/thb_tab]
thb_slideshowSlideshow[thb_slideshow id="..."]

Typography

NameDescriptionExample
thb_bigtextBigger text[thb_bigtext]...[/thb_bigtext]
thb_highlightHighlighted text[thb_highlight]...[/thb_highlight]
thb_dropcapsDropcap[thb_dropcaps]A[/thb_dropcaps]