Map List Custom Post and address input issues
This topic contains 12 replies, has 3 voices, and was last updated by Kiran 8 years, 4 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
June 19, 2017 at 7:04 pm #383937
We have 2 issues.
First we cannot get the maps and listings for the custom post types to show they default to Places. How do we fix?
Shortcode not working…
And also we cannot input an address when doing any listing as it gives an error… only shows the city and not the addy you are typing.How do we fix
Screen shot here: https://screencast.com/t/BEqi9reVPJune 19, 2017 at 7:20 pm #383940This reply has been marked as private.June 19, 2017 at 8:25 pm #383945This reply has been marked as private.June 19, 2017 at 9:35 pm #383946This reply has been marked as private.June 20, 2017 at 3:19 pm #384062Hi,
you have a mix of new and old add-ons and the core plugin is 2 versions old.
Please update GD and all its add-ons.
Make sure to install WP Easy Updates as explained here to get updates notifications for the add-ons: https://wpgeodirectory.com/wp-easy-updates/
In case some are missing, you find all the license keys here: https://wpgeodirectory.com/your-account/
Let us know if after updating everything to the latest version the problem goes away.
Thanks
June 20, 2017 at 4:51 pm #384079This reply has been marked as private.June 20, 2017 at 4:52 pm #384080This reply has been marked as private.June 21, 2017 at 7:42 am #384147Hi There,
Please check now the problem has been fixed.
The problem was your site has some script conflicts. It was showing following JS errors and breaking the rest of Js functions load.
TypeError: jQuery(…).live is not a function list-your-property:4897:4
<
Your site is running with jQuery 2.2.4 and your theme using one Js function jQuery.live() which is removed since 1.9 see http://api.jquery.com/live/#live1“Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error” js:35:315
You have included the Google Maps API multiple times on this page. This may cause unexpected errors. js:96:295
InvalidValueError: setMap: not an instance of Map; and not an instance of StreetViewPanorama js:35:315
<
One of plugin has added Google JS Map API without API key. Now it is necessary to add api key to use Google JS Map API on site.I have fixed both errors by adding following code snippet in your theme functions.php file.
function gd_custom_fix_script_conflict() { if ( !wp_script_is( 'jquery-migrate', 'enqueued' ) ) { wp_enqueue_script( 'jquery-migrate' ); } if ( wp_script_is( 'geodirectory-googlemap-script', 'enqueued' ) && wp_script_is( 'google-maps', 'enqueued' ) ) { wp_dequeue_script( 'google-maps' ); } } add_action( 'wp_enqueue_scripts', 'gd_custom_fix_script_conflict', 100 );Let us know.
Thanks,
KiranJune 21, 2017 at 6:32 pm #384249This reply has been marked as private.June 22, 2017 at 8:11 am #384298Any ideas on how we can show the Separate post type maps and lists?
< On which page you want to set that shortcode? Please explain what you want to achieve. If you want listings on same page then use this shortcode https://wpgeodirectory.com/docs/core-shortcodes/#listingsIn regards to the map is it a google maps issue? or a plugin issue?
< It is plugin issue by which that Google Map API JS added. If you are using the standard Maps JavaScript API, you must use a key parameter with a valid API key. See https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key-map-errorKiran
June 22, 2017 at 4:23 pm #384354This reply has been marked as private.June 22, 2017 at 6:09 pm #384375This reply has been marked as private.June 23, 2017 at 12:09 pm #384468This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket