Title: Gary Kovar's Replies | WordPress.org

---

# Gary Kovar

  [  ](https://wordpress.org/support/users/binarygary/)

 *   [Profile](https://wordpress.org/support/users/binarygary/)
 *   [Topics Started](https://wordpress.org/support/users/binarygary/topics/)
 *   [Replies Created](https://wordpress.org/support/users/binarygary/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/binarygary/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/binarygary/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/binarygary/engagements/)
 *   [Favorites](https://wordpress.org/support/users/binarygary/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 54 total)

1 [2](https://wordpress.org/support/users/binarygary/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/binarygary/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/binarygary/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/binarygary/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] Ability to turn off Google API fields](https://wordpress.org/support/topic/ability-to-turn-off-google-api-fields/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/ability-to-turn-off-google-api-fields/#post-10772736)
 * My apologies. This plugin had not been updated in quite a while as I’ve been 
   busy with quite a few other things. In that time, google dramatically increased
   their rates.
    For now a bandaid fix is available in version 2.1.2 until I can
   find time to dig in further.
 * In your functions.php in your theme add:
 *     ```
       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
       }
       ```
   
 * Return however long you’d like the transient to exist. This is not full proof,
   but better than checking every minute if a place is open.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] Google Charges through the roof!](https://wordpress.org/support/topic/google-charges-through-the-roof/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/google-charges-through-the-roof/#post-10772734)
 * My apologies. This plugin had not been updated in quite a while as I’ve been 
   busy with quite a few other things. In that time, google dramatically increased
   their rates.
    For now a bandaid fix is available in version 2.1.2 until I can
   find time to dig in further.
 * In your functions.php in your theme add:
 *     ```
       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
       }
       ```
   
 * Return however long you’d like the transient to exist. This is not full proof,
   but better than checking every minute if a place is open.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] Opening hours translation](https://wordpress.org/support/topic/opening-hours-translation/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/opening-hours-translation/#post-9462735)
 * This is a good idea and something I will look into.
 * Thanks,
    Gary
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] 24h opening](https://wordpress.org/support/topic/24h-opening/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/24h-opening/#post-9462734)
 * This is something that I have heard a few times.
    I will work on it.
 * Thanks,
    Gary
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] Multiple places, same post?](https://wordpress.org/support/topic/multiple-places-same-post/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/multiple-places-same-post/#post-9389755)
 * At the moment, no….
    There’s an experimental feature that lets you pass a search
   term but that stores as the location for the post. I’ll look into how to make
   that happen.
 * Thanks,
    Gary
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] Fatal error: Call to a member function selected_post_types()](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-selected_post_types/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-selected_post_types/#post-9358630)
 * I just pushed a change for version 2.1.1
    Please let me know if this fixes it
   for you.
 * I couldn’t replicate the issue locally.
 * Thanks
    Gary
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] Fatal error: Call to a member function selected_post_types()](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-selected_post_types/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-selected_post_types/#post-9358618)
 * Sorry folks,
    I’ll look into this as soon as I can.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] Unfortunately the information you have provided was not specific enough.](https://wordpress.org/support/topic/unfortunately-the-information-you-have-provided-was-not-specific-enough/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/unfortunately-the-information-you-have-provided-was-not-specific-enough/#post-9291441)
 * Jason,
 * Wanted to let you know I release version 2.1.0 today.
    It uses google autocomplete
   to find a location so it should fix the issue related to finding a location.
 * [https://wordpress.org/plugins/wp-places/](https://wordpress.org/plugins/wp-places/)
 * Thanksm
    Gary
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] Page Update breaks wp_places](https://wordpress.org/support/topic/page-update-breaks-wp_places/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [9 years ago](https://wordpress.org/support/topic/page-update-breaks-wp_places/#post-9126714)
 * Jason,
 * This should be fixed in 2.0.6
 * Thanks!
    Gary
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] Page Update breaks wp_places](https://wordpress.org/support/topic/page-update-breaks-wp_places/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [9 years ago](https://wordpress.org/support/topic/page-update-breaks-wp_places/#post-9125007)
 * Jason,
 * Thanks for the details. Weird, but I think I know where that logic is coming 
   from.
    Will work on a fix shortly.
 * Thanks,
    Gary
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] Support all post-types](https://wordpress.org/support/topic/support-all-post-types/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/support-all-post-types/#post-8661515)
 * Hmm…the latest version _should_ support all post-types?
    In the settings screen
   you should have the option to turn on and off displaying it on types other than
   posts and pages.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] Place_ID](https://wordpress.org/support/topic/place_id/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/place_id/#post-8607906)
 * Hey Benedikt,
 * Yes…the search is indeed counted at 10x.
    The search will only happen the first
   time you save the post. At that point the place ID is attached as post_meta to
   the post. Future google places API calls will be with the place id.
 * I don’t *think* there would be any issue with you setting the value for meta 
   key _wp_places to the place ID directly.
 * Hope that helps,
    Gary
    -  This reply was modified 9 years, 4 months ago by [Gary Kovar](https://wordpress.org/support/users/binarygary/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] error message/integrating with custom post types](https://wordpress.org/support/topic/error-messageintegrating-with-custom-post-types/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-messageintegrating-with-custom-post-types/#post-8598710)
 * CPT is now available.
    Feel free to open a new ticket if you are still having
   issues with finding locations.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] shortcodes not replaced in Listings](https://wordpress.org/support/topic/shortcodes-not-replaced-in-listings/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/shortcodes-not-replaced-in-listings/#post-8598709)
 * Looks like it’s still not handling that shortcode in the widget.
 * Also, the 2 shortcodes at the top. Wherever you put the code for those…it should
   be as simple as wrapping in the the do_shortcode function.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP_Places] shortcodes not replaced in Listings](https://wordpress.org/support/topic/shortcodes-not-replaced-in-listings/)
 *  Plugin Author [Gary Kovar](https://wordpress.org/support/users/binarygary/)
 * (@binarygary)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/shortcodes-not-replaced-in-listings/#post-8598312)
 * Thanks for checking out the plugin.
 * Specifically on the 2nd point. It looks like the phone number and website under
   the title might be part of the theme?
    If so, you’ll need to do something like
   do_shortcode(‘[wp_places phoneNumber]’);
 * And on the side where hours isn’t displaying, I think that might be a widget.
   I have no idea if the post meta will pass through to that…if it will you’ll need
   to turn on shortcodes in widgets by adding this to your functions.php.
    add_filter(‘
   widget_text’,’do_shortcode’);
 * I’ll keep this thread open and dig into your first question later on.

Viewing 15 replies - 1 through 15 (of 54 total)

1 [2](https://wordpress.org/support/users/binarygary/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/binarygary/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/binarygary/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/binarygary/replies/page/2/?output_format=md)