• Resolved agenziae20

    (@agenziae20)


    Hello and congratulations for this great plugin!
    I have 2 questions:

    1) when geotagging a post we can search a Google’s Place Name to retrieve it’s address and coordinates. I found out that there are other interesting data that could be retrieved from Google Places like telephone, website and working hours which are fielsd already used by your plugin.
    https://developers.google.com/places/web-service/details
    Is it possible to upgrade the plugin or could you please tell me how to do it? maybe just a code snippets could do the job.

    2) could you please point me to some doc which explains how to customize the results’ page template?

    Regards.

    P.S. 2 weeks ago I posted on your website forum support but I guess it is not used anylonger, am I right?
    https://geomywp.com/forums/forum/support/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hello Agenziae,

    Some upgrades that I ran on the server and the support site caused some issues and the site was down for a few days. Only yesterday I finally got it back on and it can be found here. However, I decided to anyway deprecate the site because of some other issues like spamming and maintenance and will keep using this support forum instead.

    Regarding your questions:

    1. I will consider your request for a future release of the plugin. Until then, what you described can most likely be done with custom coding. Unfortunately, there isn’t a simple solution that I could provide you with. This will require some development work to be done.

    2. Please refer to this reply where I described how to create a custom search form/results template file. After creating it you will be able to modify the PHP and CSS file as you wish.

    I hope this helps.

    Thread Starter agenziae20

    (@agenziae20)

    Hello Eyal,

    thank you for your kind answer.
    I could style the search form/result template but I couldn’t find how to move the search form under the map and over the results.
    I tried using shortcodes in this order:
    [gmw map=”4″]
    [gmw search_form=”4″]
    [gmw search_results=”4″]
    and set Form Submission-> Dispaly Map-> Using Shortcode
    but the map keeps staying in the middle, just like when I use [gmw form=”4″].
    How can I fix it?

    Elementor
    I made a single theme template for my cusom post type.
    If I use the “Geo My WP Single Location” WIDGET it seems ok, but if I save and reopen the template with Elementor, it gives a technical issue and cannot open the template. I need to deactivate GMWP plugin and then open again.
    No such issue if I just use the Single Location SHORTCODE inside Elementor.

    One last thing: either Widget and Shortcode don’t respect the map_width=”100%” setting, the map is much smaller. Ok with pixels settings.

    Regards!

    Thread Starter agenziae20

    (@agenziae20)

    First issue solved, I realized I had to set the Shorcode display also in the Page Load Results page:
    Page Load Results-> Dispaly Map-> Using Shortcode

    The two other issues with Elementor still remain.
    Regards.

    Plugin Author Eyal Fitoussi

    (@ninjew)

    Hello @agenziae20,

    1. I can see what causes the issue with Elementor. If you are confortable editing a core file, then a temporary solution would be to open the file geo-my-wp/plugins/single-location/includes/class-gmw-single-location-widget.php and replace line 233 which should be:

    
    echo gmw_single_location_shortcode( $instance ); // WPCS: XSS ok.
    

    with

    
    if ( function_exists( 'gmw_single_location_shortcode' ) ) {
        echo gmw_single_location_shortcode( $instance ); // WPCS: XSS ok.
    }
    

    Then save the file and test it.

    I already applied this fix to the plugin and it will be availabe in the next release.

    2. The issue with the map size is CSS related. Please try the below CSS as a temporary solution until the next release of the plugin:

    
    .widget div.gmw-single-location-wrapper,  
        div.gmw-single-location-wrapper {    
        width: 100% ! important; 
    }
    

    I hope this helps.

    Thread Starter agenziae20

    (@agenziae20)

    Hi Eyal,

    both solutions worked, thank you very much!
    I just can’t display location_meta in widget, ok via shortcode.

    Regards.

    Thread Starter agenziae20

    (@agenziae20)

    Issue solved: I was testing both shortcode and widget on the same page to check differences, as soon as I deleted the shortcode I could find the location_meta displayed in the widget, so it probably was a conflict between the two.
    Thank you very much for your help!

    Plugin Author Eyal Fitoussi

    (@ninjew)

    You are very welcome, @agenziae20.

    I will test the scenario you described with the location_meta and see if there should be a fix that I need to apply to the plugin.

    • This reply was modified 4 years, 10 months ago by Eyal Fitoussi.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Google Places Fields’ is closed to new replies.