Kiran
Forum Replies Created
-
AuthorPosts
-
Hi Will,
Please check now after clearing your browser cache.
Regards,
KiranThis reply has been marked as private.This reply has been marked as private.Hi neil,
It looks like content type issue here in response headers. For logged in users the content-type in response headers is “application/json; charset=UTF-8” but non logged users the content-type in response headers is “text/html; charset=utf-8”.
Content type should be “application/json; charset=UTF-8”. Provide us a FTP credentials to look into more.
Regards,
KiranNovember 14, 2019 at 7:18 am in reply to: API V1 have latitude and Longitude Param but not V2 #517094Hi BECUWE,
Please check this https://wpgeodirectory.com/support/topic/listings-search/#post-517092
Kiran
Hi David,
Please check this https://wpgeodirectory.com/support/topic/listings-search/#post-517092
Kiran
Hi Rodney,
This has been implemented and it will be in next version of GeoDirectory v2.0.0.70.
Examples:
1) Using Latitude & Longitude
– latitude=xxx.xxxxxx&longitude=xxx.xxxxxx
– Example:/wp-json/geodir/v2/places/?latitude=21.8380&longitude=73.7190&distance=10&orderby=distance&order=asc
2) Using IP Address
– ip=xxx.xxx.xxx.xxx
– Example:/wp-json/geodir/v2/places/?ip=103.216.82.146&distance=10&orderby=distance&order=asc
3) Using Near Me (auto-detects IP of the user and find nearest posts)
– near=me
– Example:/wp-json/geodir/v2/places/?near=me&distance=10&orderby=distance&order=asc
4) Using Address
– near=xxxxxx
– Example:/wp-json/geodir/v2/places/?near=Surat&distance=10&orderby=distance&order=asc
Regards,
KiranHi Jorge,
1) Un-tick following options from GeoDirectory > Settings > Locations > Settings
– Exclude categories location pages in xml sitemap
– Exclude tags location pages in xml sitemap2) Re-save settings from SEO > General > Features > XML sitemaps
Let us know how it goes.
Thanks,
KiranHi Dave,
I have enabled debugging via wp-config.php and checked various pages from front-end and from back-end. I don’t see any issue on those pages.
—
The slow downs were happening intermittently just while I was either browsing on the front end, or trying to publish content on the back end.
I checked front-end pages and pages loaded normally without slowdown. There are many plugins so hard to identify which plugin causing slowdown. Do you have staging(test) site? Please try disabling non GD plugins on staging site to check the speed. This will help us to identify if any plugin causing slowdown.
—
I only seen following repeated errors in /wp-content/debug.log file[14-Nov-2019 05:33:58 UTC] PHP Notice: Undefined property: stdClass::$url in .../wp-content/plugins/indeed-membership-pro/classes/Filters.php on line 26
I searched within database but could not find any item for location 1026. It looks like error raised during delete location. I checked error you posted and it happened from function geodir_location_delete_by_id() which is used to delete location. I tried add new location and delete location but could not recreate that error.
Best Regards,
KiranThis reply has been marked as private.Hi Will,
Please provide a url on which you see error and also tell which error you seen.
Kiran
This reply has been marked as private.Hi Vlad,
It looks like Google showing results from cached page. Please try this https://support.google.com/websearch/answer/6349986?hl=en
Kiran
This reply has been marked as private.Hi David,
On archive page it uses secondary sorting used in CPT > Settings > Sorting but on widget it applys only parent sorting.
I have added following PHP snippet to apply secondary level sorting to the widget listings.
/** * Add secondary level sorting to the widget listings. */ function gd_snippet_191112_filter_widget_listings_orderby( $orderby, $table, $post_type ) { global $gd_query_args_widgets; $sort_by = ! empty( $gd_query_args_widgets['order_by'] ) ? $gd_query_args_widgets['order_by'] : ''; $orderby = GeoDir_Query::sort_by_children( $orderby, $sort_by, $post_type ); return $orderby; } add_filter( 'geodir_filter_widget_listings_orderby', 'gd_snippet_191112_filter_widget_listings_orderby', 0, 3 );
Please check and let us know.
Regards,
Kiran -
AuthorPosts