Created
November 22, 2016 06:06
-
-
Save wpflippercode/cc52e76806cee8b8289a550e0b74734c to your computer and use it in GitHub Desktop.
Modify Maps & Listing Position using wpgmp_map_output hook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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