Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Modify Maps & Listing Position using wpgmp_map_output hook
add_filter("wpgmp_map_output","wpgmp_map_output",2,4);
function wpgmp_map_output($output,$map_div,$listing_div,$map_id)
{
$output="
<table width='100%'><tr><td width='50%' valign='top' style='vertical-align:top;'>".$listing_div."</td><td width='50%' valign='top' style='vertical-align:top;'>".$map_div."</td></tr></table>";
return $ouput;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment