Documentation: Easy Shortcodes


Getting started

  • Go to System > (Manage) Extensions and look for Easy Shortcodes and enable it
  • Create a shortcodes.ini file like this one
  • Move the shortcodes.ini file inside the html folder of your frontend template: templates/your-template/html/
  • Add your own shortcodes. You can use our sample shortcode.ini file as reference
  • Use the shortcodes in your articles, modules and menus
  • Addding an icon to a menu item
  • Using the icon shortcode from our sample shortcode.ini file in a menu title, this would be the result:

Please note this example required a font icon library. You can adjust the macro to match other font icons.

Addding an iframe to modules and articles

You could also create a shortcode to insert iframes in Custom modules using this macro. very useful due WYSIWYG editor remove them on save.