The Stacked icon shortcode handles a Fontawesome stacked icon. Here is a live example:

The icon shortcode, shown above, is defined by the following definition:

[g-icon-stacked icon=twitter][/g-icon-stacked]

By default Stacked icon shortcode uses the circle-o icon as container. This setting can be easily changed using the icon_container property:

The icon shortcode, shown above, is defined by the following definition:

[g-icon-stacked icon=twitter icon_container="square-o"][/g-icon-stacked]

You can display the icon larger defining the large_icon property:

[g-icon-stacked icon=twitter large_icon=true][/g-icon-stacked]

Shortcode parameters

The [g-icon] shortcode has some optional parameters:

  • name - defines an unique component name.
  • icon - defines the icon name without any prefix.
  • icon_container - defines the container icon.
  • large_icon - when true displays the icon larger.

Next Post Previous Post