Trying the new maps block. I like the dynamic map marker but my address is in 3 different fields. How do I concatenate it? I tried to put shortcodes in the map marker address spot but it did not work.
Hello. Thank you for contacting the Toolset support.
Well - Can I have problem URL and access details. And
*** 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.
This is a local site. I could zip it up with Duplicator if you like? But it is a generic question. I simply can't just place one field in the dynamic field in the Maps block. (Google needs a concatenated address, city, province, postal code, country etc ie. MANY fields)
Thanks. My address1, address2, address3 fields are all in the same post. So your code looks good. Can you point me in the right direction...right now I'm using Types, Views, Maps and Blocks plugins to do this.
1. I have a single page template for my post which I am creating using Blocks. I was using the Maps Block but since there is no way of using it for one field...
2. I will instead use a shortcode block to show the map on the template using your code? If I follow the documentation on https://toolset.com/documentation/user-guides/display-on-google-maps/ I should be good right?
1. I have a single page template for my post which I am creating using Blocks. I was using the Maps Block but since there is no way of using it for one field...
==> Yes, thats correct. there is no way to use maps block in your case.
2. I will instead use a shortcode block to show the map on the template using your code? If I follow the documentation on https://toolset.com/documentation/user-guides/display-on-google-maps/ I should be good right?
=> As I suggested in my previous reply:
-- Create a content template (do not assign to any post type)
-- Add map and map marker shortcode and savve the content template
For example: