Skip Navigation

[Resolved] Map with listing locations not showing on front.

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 4 replies, has 2 voices.

Last updated by Waqar 7 months, 3 weeks ago.

Assisted by: Waqar.

Author
Posts
#2695970

Hello,

I am trying to make a directory listing with markers on the map.

1. I made a fresh install.
2. Created custom post type "Člani" with address field.
3. Created a view "Loop Člani" with toolsets, added a map block. ( View block - Loop Člani - Address)
4. No map on front: hidden link
5. No map on page when view is inserted without elementor: hidden link
6. Simple map is working hidden link

Page with toolsets view "Loop Člani"
When i make some changes to the map in admin, map flickers and disapears in admin as well....
On the front there is no map...

#2696035

Hi,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot this, I'll need to see how this view and map are set up in the admin area.

Can you please share temporary admin login details, in reply to this message?

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

#2696088

Thank you for sharing these details, but I can't access the website's admin area.

There seem to be some location/IP-based restrictions applied on the website's admin area. Can you please disable that until this troubleshooting completes?

#2696095

Hello.

Please try again. I removed location restrictions....

Br,
Jure

#2696258

I was able to access the admin area, thank you.

1. Page: No-elementor:

On this page, the view was called through the view shortcode. But there was no block to show the map.

I've removed the shortcode for the view and added the same view using the 'View' block.

Next, I added a 'Map' block and selected the newly added view block as the source in the marker settings.
( screenshot: hidden link )

2. Page: Home:

This page is using the Elementor builder so it can't use the 'View' or 'Map' block.

For inserting a map and markers from the view, in Elementor (or any other builder other than Gutenberg/Blocks), you can use the map and map marker shortcodes:

a). Map shortcode: wpv-map-render
https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#wpv-map-render

You can insert it, where you'd like to show the map:

Example:


[wpv-map-render map_id="map-1"][/wpv-map-render]

b). Map Marker shortcode: wpv-map-marker
https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#wpv-map-marker

You can insert this in the target view's loop or single result item:

Example:


[wpv-map-marker map_id='map-1' marker_id='marker-[wpv-post-id]' marker_field='wpcf-naslov'][/wpv-map-marker]

I hope this helps and please let me know if you need further assistance.

#2696291

Hello

Thank you very much for perfect explanation. I was doing it all wrong...

Problem is resolved.