Skip to content

Instantly share code, notes, and snippets.

@mauryaratan
Last active August 14, 2017 07:51
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mauryaratan/6071262 to your computer and use it in GitHub Desktop.
StagTools WordPress Plugin's list of all available shortcodes, just in case you want to use theme manually instead of shortcode builder.
Alerts
======
[stag_alert style="white"]Your Alert![/stag_alert]
Styles: white, grey, red, yellow, green, blue
Buttons
=======
[stag_button url="http://mauryaratan.me" style="grey" size="small" type="normal" target="_self"]Button[/stag_button]
Styles: grey, black, green, light-blue, blue, red, orange, purple
Sizes: small, medium, large
Types: normal, stroke
Targets: _self, _blank
Columns
=======
All column pages must end using one of the "last" shortcodes. For example:
[stag_one_half] content [/stag_one_half] [stag_one_half_last] content [/stag_one_half_last]
[stag_one_third] [/stag_one_third]
[stag_one_third_last] [/stag_one_third_last]
[stag_two_third] [/stag_two_third]
[stag_two_third_last] [/stag_two_third_last]
[stag_one_half] [/stag_one_half]
[stag_one_half_last] [/stag_one_half_last]
[stag_one_fourth] [/stag_one_fourth]
[stag_one_fourth_last] [/stag_one_fourth_last]
[stag_three_fourth] [/stag_three_fourth]
[stag_three_fourth_last] [/stag_three_fourth_last]
[stag_one_fifth] [/stag_one_fifth]
[stag_one_fifth_last] [/stag_one_fifth_last]
[stag_two_fifth] [/stag_two_fifth]
[stag_two_fifth_last] [/stag_two_fifth_last]
[stag_three_fifth] [/stag_three_fifth]
[stag_three_fifth_last] [/stag_three_fifth_last]
[stag_four_fifth] [/stag_four_fifth]
[stag_four_fifth_last] [/stag_four_fifth_last]
[stag_one_sixth] [/stag_one_sixth
[stag_one_sixth_last] [/stag_one_sixth_last]
[stag_five_sixth] [/stag_five_sixth]
[stag_five_sixth_last] [/stag_five_sixth_last]
Dividers
========
[stag_divider style="plain"]
Styles: plain, strong, double, dashed, dotted
Dropcaps
========
[stag_dropcap font_size="50px" style="normal"]D[/stag_dropcap]
Styles: normal, squared
Font Size: font size in px, em or % i.e. 50px
Intro Text
==========
[stag_intro]Intro Text[/stag_intro]
Tabs
====
[stag_tabs style="normal"] [stag_tab title="Title"]Tab Content[/stag_tab] [/stag_tabs]
Styles: normal, stroke
Toggles
=======
[stag_toggle style="normal" title="Title" state="open"]Content[/stag_toggle]
Styles: normal, stroke
States: open, closed
Font Icons
==========
[stag_icon icon="link" url="http://mauryratan.me" size="50px" new_window="no"]
Icons: Just use the icon name from http://fortawesome.github.io/Font-Awesome/
Size: font size in px, em or % i.e. 50px
new_window: no, yes
Images
======
[stag_image style="grayscale" src="#" alignment="left" url="#"]
Styles: no-filter, grayscale, sepia, blur, hue-rotate, contrast, brightness, invert
Alignments: none, left, right, center
Videos
=======
Supports WordPress oEmbed videos and its responsive.
[stag_video src="#"]
Maps
=====
[stag_map lat="37.42200" long="-122.08395" width="100%" height="350px" style="none" zoom="15"]
Enter the map geographical coordinates (latitude and longitude), could be found here - http://universimmedia.pagesperso-orange.fr/geo/loc.htm
Width: could be in px or %
Height: Enter a value in px
Zoom: Enter the map zoom level between 0-21. Highest value zooms in and lowest zooms out.
Style: Enter a predefined map style, adds some style effect
Valid values: bright_bubbly, greyscale, mixed, none, pale_dawn, subtle_grayscale
@jilt
Copy link

jilt commented Jul 19, 2016

Hi I get a "missing api key" error on your doctype theme with stagtools plugin, how can I fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment