How to add Global Marketpress Products to a Site Loop


I am trying to integrate global marketpress products into a site loop.


and this function


seem to be the ones to do it. (as per this previous post)

I have two questions:

1. I can filter by tag, but ultimately, I want to filter by geolocation to a specific suburb.

2. How do you add a function into code that displays an array in the front page loop of the theme?

` // start building query args
$args = array(
'posts_per_page' => $per_page,
'paged' => $params['paged'],
'post_type' => array('post','page','incsub_event','product','directory_listing'),
'post_status' => 'publish',
'suppress_filters' => false, // wpml support

Any ideas?