[Resolved] How to output Google maps with shortcode

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 5 replies, has 3 voices.

Last updated by Aditya Deshmukh 2 months, 2 weeks ago.

Assigned support staff: Minesh.

Author
Posts
#1455401

Tell us what you are trying to do?
I'm designing the search (and results) page with Elementor. This is the link to the page: hidden link

The left column is being outputted from the "Toolset View" widget, the right side with "Maps" widget. The Toolset view (on the left side) is working great. What I would like to have is to display the map (in the right column) for these properties in the results (from Toolset view). I was thinking of outputting the map with a shortcode.

Is there any documentation that you are following?
https://toolset.com/documentation/adding-custom-code/how-to-create-a-custom-shortcode/

Is there a similar example that we can see?
hidden link

What is the link to your site?
hidden link

#1456071

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I see a map on right side widget with the problem URL you shared: hidden link

The map you added is a static map?

Can you please send me admin access details so I can review your setup and that will help me to guide you in the right direction.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1457597

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hello,

Minesh is on holiday, you will get answer tomorrow.

#1458071

Okay, I will wait for tomorrow.

#1459175

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see the page you created and I saw that you have added the map using the Elementor's Map module. That is not the suggested way.

I suggest you should check the following reference page that is available with real estate reference site on discover-wp.com
=> hidden link

You should create a test site using the real estate site that will help you to learn how the map is implemented.
=> https://discover-wp.com/site-types/bootstrap-estate-layouts/

You can either use a classic view or block the view to create such a custom search with maps. If you want to use Elementor, then you need to create a classic view with maps as shows with the above real-estate site example and then add the view using Elementor's view's widget.

#1463491

My issue is resolved now. Thank you!