Created
September 14, 2017 06:15
-
-
Save wpflippercode/cb28ef05d260b8fe5ed5062453fa33ac to your computer and use it in GitHub Desktop.
Modify Location Listing below Google Maps using 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_listing','wpgmp_listing',1,2 ); | |
function wpgmp_listing($listing,$map) { | |
$listing['listing_placeholder'] = "<div class='listing-item'><h4>{marker_title}</h4><p>{marker_address}</p></div>"; | |
return $listing; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want listing group by category