Kiran
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.
Hello Naoufel,
I checked and found your theme still using old v1 templates. Under directory wp-content/themes/YOUR-THEME/geodirectory/ you need to use templates from /wp-content/plugins/geodirectory/templates/.
Check for more details: https://wpgeodirectory.com/docs-v2/templates/search/ & https://wpgeodirectory.com/docs-v2/templates/
Let us know.
Thanks,
KiranApril 27, 2019 at 8:06 am in reply to: Permalinks w/ v2.0 – tag out of order – am I doing it wrong? #483147You are using custom code to handle 404 error?
Let us know if you still have any issue with old urls.
Thanks,
KiranThis reply has been marked as private.My place is only located in France. That’s why I did not understand why there can be a change of timezone. My timezone is +2 everywhere. And this I have indicated in the settings of WordPress from the beginning.
If address changed to region whcih has different timezone then France then it will auto TZ of that address.
—
I do not know if it’s you or me, but the module no longer appears in frontpage.
That field was excluded form package, i have put back.
Let us know.
Kiran
This reply has been marked as private.We uses this function to handle 404 rescue https://github.com/AyeCode/geodirectory/blob/master/includes/class-geodir-permalinks.php#L130
It called via hook https://github.com/AyeCode/geodirectory/blob/master/includes/class-geodir-permalinks.php#L55What process you are doing to handle 404?
Kiran
This is default behavior. By default it chooses the offset of the default location.
When you add/edit listing and if it there is address change then we send request via Google API to retrieve timezone for the address. This means it allows to set different timezone offset for each listing.Let us know.
Kiran
Hello Adrian,
Timezone offset saved for each listing with business hours data. So if you need to change offset value for listing then you have to edit it for each listing.
If you don’t want to update for each listing then you can use following snippet to use common timezone offset for each listing. You can set your own offset, currently i have used +1:00.
function gd_snippet_get_business_hours( $hours, $data ) { if ( ! empty( $hours ) && ! empty( $hours['extra'] ) && isset( $hours['extra']['offset'] ) ) { $hours['extra']['offset'] = '+1:00'; // Set timezone offset Ex: +1:00 or +5:30 or -7:00 } return $hours; } add_filter( 'geodir_get_business_hours', 'gd_snippet_get_business_hours', 10, 2 );Let us know.
Kiran
This reply has been marked as private.April 26, 2019 at 11:47 am in reply to: Permalinks w/ v2.0 – tag out of order – am I doing it wrong? #483038Hello,
I have fixed issue and also the option “Enable 404 rescue” should be enabled to rescue old urls. I have enabled it from GeoDirectory > Settings > General > Developer > Enable 404 rescue.
Please check and let us know.
Kiran
Hello Greg,
This has been implemented and it will be in next release.
Regards,
KiranApril 26, 2019 at 9:06 am in reply to: Category icons are no longer visible on the map after update to v2 #483011This reply has been marked as private.April 26, 2019 at 8:34 am in reply to: Category icons are no longer visible on the map after update to v2 #483006Hello Vito,
Issue has been fixed. You have defined static content url via wp-config.php file and it caused issue in marker icons.
Please check and let us know.
Regards,
Kiran -
AuthorPosts