A shortcode is a WordPress-specific code that lets enhance your post or widget editor to display complex code with a simple snippet of text in brackets. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. Shortcode = shortcut. If you are getting started with shortcodes, read this tutorial.
Shortcode | Args | Example |
---|---|---|
Post Shortcodes |
||
[post_date] | before after format label |
[post_date format=”F j, Y” label=”Posted: “] |
[post_time] | before after format label |
[post_date format=”g:i a”] |
[post_author] | before after |
[post_author before=”<em>” after=”</em>”] |
[post_author_link] | before after nofollow |
[post_author_link before=”<b>” after=”</b>”] |
[post_author_posts_link] | before after |
[post_author_posts_link before=”<b>” after=”</b>”] |
[post_comments] | before after zereo one more hide_if_off |
[post_comments zero=”No Comments” one=”1 Comment” more=”% Comments”] |
[post_tags] | before after sep |
[post_tags sep=”, ” before=”Tags: “] |
[post_categories] | before after sep |
[post_categories sep=”, ” before=”Categories: “] |
[post_edit] | before after link |
[post_edit before=”<b>” after=”</b>”] |
[post_terms] | before after sep taxonomy |
[post_terms taxonomy=”category”] |
Footer Shortcodes |
||
[footer_backtotop] | before after text href nofollow |
[footer_backtotop text=”Top” href=”#”] |
[footer_copyright] | before after copyright first |
[footer_copyright first=”2014″] |
[footer_childtheme_link] | before after |
[footer_childtheme_link before =”·”] |
[footer_bizznis_link] | before after |
[footer_bizznis_link before=”<b>” after=”</b>”] |
[footer_bizzthemes_link] | before after |
[footer_bizzthemes_link before=”<b>” after=”</b>”] |
[footer_wordpress_link] | before after |
[footer_wordpress_link before=”<b>” after=”</b>”] |
[footer_loginout] | before after redirect |
[footer_loginout redirect=”http://bizzthemes.com/support”] |