Generating the shortcode for use with the Joomla plugin