07/17/2014 at 6:44 pm
#297363
Keymaster
@ james301
The file is now named class.entry-output.php
. You need to use more than just the getMapBlock()
method, you’ll also need a bit of JavaScript to init the Google Maps on the output of the getMapBlock()
. You can refer to the cMap JavaScript file served from this site as how to do it. And, yes, you can output the maps just on the single entry. You would add the getMapBlock()
method to a file named card-single.php
. See this QuickTip about custom template overrride files.
Hope that helps!