Knowledge Base

Ignition Framework shortcode collection

The Ignition Framework includes several shortcodes you can use in any content area field in Customizer, inside your content using the shortcode block or in a text widget.

[ignition-custom-menu name="your menu name"]

Create a Custom menu from Appearance→Menus, then use this shortcode to display it in any location you want. Primary used to display Social icons in the top bar.

  • Create New Menu instead from Appearance→Customize→Menus.
  • To add a social media link to the menu, click + Add Items.
  • Next, select the Custom Links menu item type.
  • Add the address for one of your social media profiles in the URL field. For example, if the link to your Facebook profile is https://www.facebook.com/cssigniter, you would copy that into the URL field.
  • You can also enter a name for the social media profile in the Link Text field. Once you’re ready, click Add to Menu.
  • Repeat the above steps until all the social media profiles you wish to use have been added to the menu.
  • Finally, click Publish.

We strongly suggest checking this article on using menus in WordPress.


[ignition-site-search]

Simple site search field, you can use it under any content area in the Customizer.


[ignition-date]

Supported attributes are:

  • format (optional): The date format, by default follows the one set under Settings → General.

Use this shortcode in any Customizer content area to display today’s date.


[ignition-current-weather id="your-location-id(optional)"]

Supported attributes are:

  • id (optional): The id of the location to display the weather from, default is the one set under the Customizer Weather options.
  • units (optional): C or F units to display.

This will display the weather inside any content area in Customizer. You will need to setup the API first from Customize→Utilities→Weather. The location ID number can be found by visiting OpenWeatherMap.org and searching for your city. Leave this blank and the default ID from Customize→Utilities→Weather will appear.


[ignition-minicart-button]

This shortcode will display the minicart. Use it under Customize→Top Bar in any content field you wish. You will need to have WooCommerce installed in order this to work.


[ignition-language-switcher]

Supported attributes are:

  • display (optional): accepted values are flags, text or both
  • type (optional): accepted values are dropdown or menu
  • untranslated (optional): accepted values are hide or home

We support WPML and Polylang. You can either use their default language switcher or our shortcode one.

CYBER MONDAY Special! 50% OFF! Buy Now