We are using WP Places to get hours of operation for about 200 businesses. Google charged us $3,000 last month. We installed the filter below, but that did not seem to do anything. Do you have any ideas to help us cache the data so we are not charged so much?
add_filter( ‘wp_places_transient’, ‘wp_places_update_transient’, 10, 1 );
wp_places_update_transient( $time ) {
// return a value in seconds for how long to cache.
return 86400; // one day
return 604800 // one week
}
Dear Gary Kovar, I tried to use WP_Places plugin, but I cannot add Google API key due to missing Save button and below the Google API key field are next message visible: “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.” I didn’t receive any emails within instructions. I deactivated all plugins with same result. I tried it at another Multisite WP installation with same result.
Is this plugin compatible to Multisite WP installations? How could I get used the plugin?
Thank You in advance sonarnew
Hi there,
I’ve got wordpress 4.9.10.
When I go to settings, there is a box for api key and a message about giving credit to google, but nothing else and no save button.
I have deactivated all plugins and there’s no improvement on the settings page.
Looking forward to using your plugin!
Thank you!
Violet
Hi, great plugin, thanks for developing this! I successfully used it on a dev install, but most of the options on the Settings page disappear when used on multisite. Is the plugin compatible with multisite? Thanks!
]]>Can you please specify a language parameter in the place details request?
Following fields may benefit from it:
reviews[]
weekday_text
opening_hours
etc.
Please take language from frontend settings (and make it WPML compatible). It would be also good to make an option to change this manually to a prefered language.
Thank you very much!
]]>expects parameter 2 to be array, string given in /installation1/wp-content/plugins/wp-places/includes/class-settings.php on line 290
Warning: Cannot modify header information – headers already sent by (output started at /installation1/wp-content/plugins/wp-places/includes/class-settings.php:290) in /installation1/wp-admin/includes/misc.php on line 1144
WordPress 5.0.3
]]>Hello. When I add a Place Address on a post or page and click update, the field is set to a comma or cleared. Can I expect a solution to this problem?
kind regards
Tim
There is no Save button at Setting page and I can not save the form
]]>I am running into this same issue for our website as winthropweb. We are getting charged astronomical fees by Google. The WP_Places plugin is pulling all the API data and we really only want to make use of one field which is “Hours” for our website. It would be great if there was a way from with the plugin settings to restrict what is being pulled from Google’s API. For example allow the web developer to choose via a checkbox which fields to turn on or off. This plugin is a great resource and helps smaller organizations with connecting to their customers by providing up to date information on their websitethese organizations a great deal.
Also, I wanted to donate to the plugin in hopes that you would consider this feature. The link to donate at https://www.fostercloset.org/Donate.html is broken.
I would really appreciate any feedback, advice or direction from you Mr. Binary. Much Thanks for the plugin!
Is it possible to alter the way the photos are formatted (i.e. put them in a horizontal line/fit them into a carousel, etc.)? I’m trying to format onto a page and would like some flexibility with how the photos fit onto the page.
Thank you!
]]>So i have a community based website using places to let people know what restaurants are now open. I recently got an invoice from Google for $12,000 (yes twelve thousand) we are a small town and i am only getting about 1500 hits so i am not sure why but Google says i need to ask the developer about how the calls are being made. With billing changes recently i am sure others are getting billed when it used to be free to use. Any insights how are you dealing with this with your own sits using places?
]]>Is the connection created based on the service’s name? So, if they changed the name would the connection break?
What if they change their address, but have the same name? Good then?
Thank you so much!
]]>I think I saw another thread on this, but having the ability to add multiple locations on a page/post would really save me for a project I’m working on. Any chance of that happening or a recommendation on how to customize it myself?
Thank you!
Jim
This plugin is a great idea, thanks!!!
Unfortunatly, it does not work for me. When I enter in post search field the address of the place, it is looked up, and the found google place is correctly shown for some seconds, then replaced by error signs.
I suspect this a autorisation issue?
I did activate the the Google Places API Web Service and entered the API key in the WP_Places prefs. On the google console, the requests are shown without an error.
Any ideas what I did wrong, or where to look for the error?
Thanks in advance, Gilbert
Screenshot of the error:
]]>Hi, i found your wp-places plugin. Really nice plugin!
For a listing site I was wondering if you would know a way to map the addresses from another custom field into the wp_places shortcode…
I’m using a wp listing theme with adresses already added, and would like to use that field in the WP_places shortcode.
something like this:
[wp_places rating address=”_location”]
Would anything like this be possible?
or in php, how would I call this field from the database?
or… I found an old shortcode from an older WP_places version.
[wp_places_search address lat= lon= ]
Does this still work?
thanks in advance for your reply.
Roald
]]>Hi Gary –
I’m using version 1.1.7 to search using place name, address, lat lon to find a placeId and then display the place info. As you know new versions of WP_places don’t have that neat trick.
I’m running into issues where everything works fine, and then it doesn’t… it finds the info, and displays it, but then after update the post – can’t find the place and can’t display
I think it has to do with caching and maybe was solved when you updated fixed in 2.0.6 in response to this thread https://www.ads-software.com/support/topic/page-update-breaks-wp_places/
part of this is also ‘sometimes’ getting an Invalid argument supplied for foreach()
in the 1.1.7 version of WP_Places.php:342
foreach ($placeArray[$key] as $hoursOfOperation) {
I’m sure it is probably asking you too much to come up with an update to incorporate the various version fixes and also allow doing a placesID search using location info – which is immensely useful.
thanks
]]>I have a wordpress database with about 4500 businesses where Google often have more info than i do.
Is it possible to somehow copy post titles to WP places field and retrieve info this way or dp i have to manually do this for each post?
Hi Gary –
I’ve been away from this project for awhile and wondering if the search function might still work. For some reason I’m getting a 500 error and not displaying anything if I add this to a post.
[wp_places_search Bento Cafe 4860 Big Island Dr lat=30.253839 lon=-81.532171 ]
thanks
]]>The google opening hours are by default in English and plugin translation does not seem to affect this. Is it possible to change the opening hours to my local language? I would also want and show clock hours in a different format eg. 23:00 instead of 11 pm?
]]>I’ve gt the Google Places API Web Service.
I filled it in the ‘WP places settings’
Tried the put the widget …. but do not know what else too do.
Do you have a detailled explenation, please ?
(youtube video maybe ? )
Thanks, Michael
]]>I was trying to figure out if it’s possible to include multiple places in the same post? I often write top 10 style lists and would love to pull in this data for multiple places within the same post, and not just a singular place. Is this possible?
]]>Fatal error: Call to a member function selected_post_types() on null in /home4/USER/public_html/WEBSITE/wp-content/plugins/wp-places/includes/class-settings.php on line 136
]]>Is there any opportunity to show 24h clock opening hours?
In Sweden we do not use 12h am and pm
And also have the days in Swedish as it is on Google maps
Thanks
David
I can display place location data on a page using this plugin, however sometimes when I update a page (change some text, add an image etc) the wp_places data seems to get ‘reset’. Looking in the wp_postmeta table, the data is still present, however it disappears from the back-end and the front-end. I have no idea why, but it’s mightily frustrating.
Any ideas?
]]>Hello. When I add a Place Address on a post or page and click update, the field is cleared.
]]>Is it planned to select all post-types (also from users) in the near future? If this is not planned, maybe you could start here?
]]>Hello!
I have to say that the plugin is an great idea. I wanted to use this plugin for some customers. It is also a pity if I separately now integrate for me some features and these could not be used by others. If there is interest and this plugin should remain free, I would like to help with develop.
First of all I have to criticize the integration of the “language function”. This is important to run this Plugin multilanguage. Users can now output information in their language.
]]>Hi Gary,
first of all, thanks for providing such an awesome plugin and a happy new year!
I just wanted to ask if you plan on making it possible to submit the Place_ID directly instead of an adress text search. The Places API Text Search service is subject to a 10-times multiplier regarding usage limits, the direct search via Place_ID is not.
Cheers,
Benedikt
Under All Imports, your WP_Places field isn’t available to be imported into. This means when running an import into the WP Listings plugin, I cannot pass in my data (location name, address) for it to then auto-populate.
Second issue, as you can see at this link:
https://my.karaoq.com/listings/whiskey-rhythm-saloon/
The shortcodes are not being replaced in Listings.
Utlimately, I’d like to pass the review into the reviews section, the photos into the photos section, use the first indexed photo into the featured photo for the listing, and the other related shortcodes (phone number, website, operational hours, etc.) into their proper location
]]>I’ve installed activated and setup the plugin. I’ve activated the Google Places web service api and added the api key into the plugin settings page.
No matter what details I enter into the Company name and address box (I’ve tried several companies all listed on Google) it always reports “Unfortunately the information you have provided was not specific enough.”
I’ve checked my Google Dev dashboard and it is definitely showing query activity.
Any ideas?
Jason
]]>