Why won’t the Comprehensive Google Map Plugin load?

If you check the JavaScript error console, you’ll see the plugin is throwing an error: Error: SyntaxError: missing ) after condition Source File: http://www.associatedkyotoprogram.dreamhosters.com/wp-content/plugins/comprehensive-google-map-plugin/assets/js/cgmp.framework.min.js?ver=7.0.31 Line: 33, Column: 60 Source Code: tions”).val();d=w(d);m=parseFloat(a.fn.jquery);if(1.3>m && m~=1.10)return alert(i.oldJquery),!1;if(“undefined”== If you look at the plugin page, you’ll that the majority of people are reporting the plugin as broken, and it … Read more

I want to split this into two functions

You can separate it into two functions by using following code : <?php add_action(‘tmpl_detail_page_custom_fields_collection’,’custom_fields_colletion’); /* Name : custom_fields_colletion Desc : Return the custom fields collection for detail/single page */ function custom_fields_colletion() { global $wpdb,$post,$detail_post_type; $detail_post_type = $post->post_type; if(isset($_REQUEST[‘pid’]) && $_REQUEST[‘pid’]) { $cus_post_type = get_post_type($_REQUEST[‘pid’]); $PostTypeObject = get_post_type_object($cus_post_type); $PostTypeLabelName = $PostTypeObject->labels->name; $single_pos_id = $_REQUEST[‘pid’]; } else … Read more

Add routes between multiple ACF google maps markers [closed]

I’ve managed to work around this by using Gmaps.js. function initMap($el) { var bounds = []; var waypts = []; var $markers = $($el).find(‘.marker’); var map = new GMaps({ div: $el, scrollwheel: false, zoomControl : true, zoomControlOpt: { style: ‘LARGE’, position: ‘TOP_RIGHT’ }, panControlOpt: { position: ‘TOP_RIGHT’ } }); $markers.each(function() { // DEFINE CURRENT/NEXT MARKER … Read more

ACF Google Maps – Multiple Pins

I’ve achieved this in the following website check the “UbicaciĆ³n” bock. I did this using ACF Pro (5.0). Im sharing you the code you need in order to implement this. Hope this is what you are looking for (there are a few extra fields that are not needed). <?php $image = get_field(‘location_background_image’, ‘option’); $size=”background”; $location_background_image_url … Read more