Skip Navigation

[Resolved] Show post on map without showing a view of post

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 17 replies, has 2 voices.

Last updated by Minesh 1 year ago.

Assisted by: Minesh.

Author
Posts
#2699255

I like to show the posts on a map, but without a view of the post only the map.
How to?

#2699259

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please try to follow the following Doc:
- https://toolset.com/course-lesson/displaying-a-map-on-a-single-post-template/

In addition to that - I would suggest you to follow the advise I shared before:
- https://toolset.com/forums/topic/creating-a-template-using-beaver-themer-and-beaver-builder/#post-2699157

That will help you to explore Toolset and its feature and you can quickly learn it.you can also try to follow any of the course we offer:
- https://toolset.com/course/

#2699260

I have created a content template what i s working, post on map, hidden link.
But when I do a filter the map is not showing correct anymore?
I hav eput on ajax, but it isnot working fine

#2699267

Minesh
Supporter

Languages: English (English )

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

Can you please set your site's parmalink to use "post name" instead of the URL params from and save the settings from Settings -> Permalinks.
=> your-domain.com/wp-admin/options-permalink.php

Do you want to display only map with pins or you also want to use custom search with map?

#2699268

Permalinks are already set to postname"?

Also custom search, see map on : hidden link

#2699272

Minesh
Supporter

Languages: English (English )

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

The view you created was corrupted somehow.

I've created another view on your content template and added "Country" custom search filter.
=> hidden link

I can see its working:
- hidden link

You can add other filters and here is the doc:
- https://toolset.com/course-lesson/creating-a-custom-search/

Please note that you have disable the custom search option "Show only filter options that would produce results" from the "Custom Search" tab of "View" block that means it will add the options to custom search filter even though no posts are available for the such option.

#2699819

I check your example (- hidden link) but it isnot working?

#2699821
2024-05-28_150600.png

It gives some warnings in the console log, see image

#2699826

Minesh
Supporter

Languages: English (English )

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

Can you please share how exactly you want to display the map on the reference link you shared?
- hidden link

What address field you created and how exactly you want to display the map. Maybe few screenshots will be helpful to understand your issue.

I have set the next reply to private, which means whatever information you will share, only you and I have access to it.

#2699827

Minesh
Supporter

Languages: English (English )

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

As you can see I can see the maps:
- hidden link

The notices you mentioned in the screenshot are deprecated notices so that's not an issue at all.

#2699828

If you select a country it isnot wokring anymore..

I switch template to twenty four, but same issue, still not working.

Also the filter isnot the problem, if i delete country and add sector, same issue.

#2699832

Minesh
Supporter

Languages: English (English )

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

Ok - This is known issue and here is the errata page for that:
- https://toolset.com/errata/map-markers-lost-after-applying-search-filters-on-custom-archive/

So - I've changed the custom search filter setting to filter the view result on submit button.

As you can see with the following screenshot:
- hidden link

I've changed the custom search setting and added the submit button to your view.
=> hidden link

For now you will have to use submit button to filter the view results later on when we offer the fix you can use the filter the view result with option "AJAX refresh when changing any filter".

#2700174

After a few days i come back to the site, and no post are showing up at all?
What is going on?

#2700177

Minesh
Supporter

Languages: English (English )

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

It seems you must have changed the post type slug from "projects" to "projecten".

You can please set your view to query your desired post type from "Content Selection" on right panel tab when you select the view block and save it again:
- hidden link

Toolset does not change post type slug automatically, it must be done by you or someone else.

#2700180

Great!, it is wokring again.

When will the ajax search working again?