Forum Replies Created
-
AuthorPosts
-
February 12, 2019 at 4:14 PM in reply to: Google JavaScript API geocoder failed with status ERROR results undefined #58738webpromParticipant
I confirm search is working again in v.5.04, no need to create special redirect, thank you!
February 11, 2019 at 12:59 PM in reply to: Google JavaScript API geocoder failed with status ERROR results undefined #58702webpromParticipantok, waiting for the article then. i have all latest versions of slp and wp.
thanks.
February 10, 2019 at 1:50 AM in reply to: Google JavaScript API geocoder failed with status ERROR results undefined #58694webpromParticipantSLP worked ok with previous versions. Search is broken after update of wp5 and slp.
Developer can probably make 2 paths for sites with wp in directory and in the root, i guess. Or to use the same method that allows initial search of predefined location without a problem.
February 9, 2019 at 10:07 AM in reply to: Google JavaScript API geocoder failed with status ERROR results undefined #58681webpromParticipantWhen will you release 5.04? Looks like all sites with wp url in a folder have this problem now.
January 29, 2019 at 4:29 PM in reply to: Google JavaScript API geocoder failed with status ERROR results undefined #58563webpromParticipantAccording to this article https://www.storelocatorplus.com/address-lookup-failures-on-wpslp/ my setup is correct, I’m able to login from https://www.—-.com/art/wp-login/
Still there is an error 404 for locations.
—————–
REQUEST
GET /art/wp-json/store-locator-plus/v2/geocode/9a29e207757d96a36a7449aefb1967a0/us/san%20diego HTTP/1.1
Host: http://www.—-.com
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Accept: application/json, text/javascript, */*; q=0.01
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Referer: https://www.——.com/store-locator/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,he;q=0.8,ru;q=0.7,uk;q=0.6
Cookie: PHPSESSID=7f5666e1cee374f2664f4bce2caea9ef; caosLocalGa=GA1.3.997967176.1548725043; caosLocalGa_gid=GA1.3.1494446156.1548725043; wp_woocommerce_session_9a29e207757d96a36a7449aefb1967a0=34bbb21bbe63b29fb6c279ce8a7d86b9%7C%7C1548898848%7C%7C1548895248%7C%7C61d6f5dbdd32204b405b4302db944b74; woocommerce_recently_viewed=928—————
RESPONSE HEADERS
HTTP/1.1 404 Not Found
Date: Tue, 29 Jan 2019 21:23:49 GMT
Server: Apache
Pragma: no-cache
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Link: <https://www.—–.com/wp-json/>; rel=”https://api.w.org/”
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Vary: Accept-Encoding,Cookie
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8webpromParticipantWorks for me, based on @nicoblue code!
Justecho '<span class="total-locations-number">' . $totalLocations . '</span>';
with php in theme file.webpromParticipantI need it too to show in my theme. Simple shortcode with $totalLocations. Please help.
Thanks.
webpromParticipantI had to replace this text with css. It’s not translatable 🙁
.no_results_found h2 { overflow: hidden; width: 1px; text-indent: -2000em; display: inline-block; } .no_results_found h2:before { content: 'YOUR LANGUAGE TRANSLATION'; width: auto; text-indent: 0; display: block; position: absolute; font-size: .8em; }
-
AuthorPosts