retrieving the data in the form of an associated array, and adding a shortcode for the plugin