Kiran
Forum Replies Created
-
AuthorPosts
-
Hi 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,
KiranHi giuseppe,
Problem 1) has been fixed, let us provide FTP details so we can apply & check it on your site.
Thanks,
KiranThanks for letting us know 🙂
If you want to show GD home page as a site home page then go to Admin > Settings > Reading > Front page displays > Tick “A static page (select below)” > Select “GD home Page” for “Front page”.
This will display GD home page as site home page.Kiran
Great 🙂
Thanks for letting us know.
Hi sithonia,
Please check now, seems works fine now.
You have selected same page for “GD Home page” and “Location page” at GD > Permalinks > GeoDirectory Pages. Both should have different pages.
Let us know.
Kiran
Hi,
Please check now after clearing your browser cache. https://upendpr.com/media-database/ works fine now.
Let me know what content was on https://upendpr.com/database/
Is it location page? or replica of https://upendpr.com/media-database/?Kiran
June 20, 2017 at 9:44 am in reply to: Missing translated listings & wrong view all URL after GD update & data import #383984I have created both listing from backend.
– In backend on EN language go Hospitalities > Add New
– Entered all the listing data > Publish
– Once saved, to add translation for this listing click on “+” sign under the Language metabox (in right sidebar)
– It will open new page, on this page click on “Copy content from English” button found under the Language metabox (in right sidebar)
– Enter data for blank fields > Publish
That’s it.Let us know.
Kiran
Hi Josh,
Checked by disabling non GD plugins and enabling WP default theme and found that there is something conflict with the “envision” theme. I checked with twentytwelve theme and the home page (https://upendpr.com/directory/) map loads all the markers fine.
Page https://upendpr.com/media-database/ is build with envision page builder, so i can’t test it with twentytwelve theme.
Your site running with WP v4.3 which is too older then recent v4.8, so you have to update first WP with latest version. This could be a reason.
I can’t find any page under WP > Pages with slug /database. What content was in there page?
Let us know.
Thanks,
KiranJune 20, 2017 at 7:49 am in reply to: Missing translated listings & wrong view all URL after GD update & data import #383979This reply has been marked as private.This reply has been marked as private.Thanks for letting us know 🙂
Hi James,
You need one more change in Location Manager plugin.
In file /plugins/geodir_location_manager/geodir_location_hooks_actions.php Find below code: (around line no. 4251) $replace_location = __('Everywhere', 'geodirlocation'); Replace that line with: $replace_location = apply_filters('geodir_location_description_everywhere_text', __('Everywhere', 'geodirlocation'));
Let us know how it goes.
Kiran
Hi Josh,
1)
< Enable server side clustering from GD > Design > Marker Cluster > Cluster Type. Client side is better and faster for small directories, server side is better for large directories.2)
< There is an error in AJAX response, i can see in firebug(see screenshot). Let us provide FTP details to look into more.FYI Two Google maps on same page may not works that shows GeoDirectory listings.
Let us know.
Thanks,
KiranJune 19, 2017 at 6:14 am in reply to: Missing translated listings & wrong view all URL after GD update & data import #383783Hi Alex,
For GeoDirectory custom fields translation if you are using WPML string translation plugin, then no need to import .po file to include those custom field translation into WPML string translation. Just running a GD Tools > Custom Field Translation will auto registers all the custom fields in WPML String Translation for the translations.
I have create a sample field “Enus” under GD > Place Settings > Custom Fields.
– Entered title “Enus” and saved.
– Run tool from GD Tools > Custom Field Translation
– At WPML > String Translation entered “Dede” for German translation for “Enus” text.
– Ticked translation complete > Save
and it worked fine form me. Please check screenshots attached.Check this for more info: https://wpml.org/documentation/getting-started-guide/string-translation/
Not sure what is problem with wrong flag with some strings as you mentioned A) & B). But i recommends to enter custom field texts in EN language and you should be on EN language(in top admin bar) in backend when you run a tool from GD Tools > Custom Field Translation.
Let us know.
Thanks,
Kiran -
AuthorPosts