Navigation überspringen

[Closed] Search Results

This support ticket is created vor 2 years, 9 months. There's a good chance that you are reading advice that it now obsolete.

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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Zeitzone des Unterstützers: Europe/London (GMT+01:00)

Dieses Thema enthält 15 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Nigel vor 2 years, 9 months.

Assistiert von: Nigel.

Author
Artikel
#2640597

Nigel
Unterstützer

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+01:00)

Screenshot 2023-09-04 at 08.51.23.png

I think there were left-overs in the database from the original airport-address field which were confusing things.

I went to Toolset > Custom Fields and clicked the "Post field control" link which shows the custom fields on the site and field groups they belong to, and it showed the presence of wpcf-airport-address, even though it had been deleted from your custom field groups (screenshot).

So I deleted it from that page to remove all traces of it from the database.

I was then able to go in and edit the View, remove the existing distance filter which was working with that address field, and add back a new one that uses your new address field for maps.

I fixed up a few things for this page (like centering the map when there are no markers), updated your code snippet to target this View to show no results until a filter is applied, and it appears to be working as intended, if you want to go ahead and check so you can make whatever final adjustments you need.

The topic ‘[Closed] Search Results’ is closed to new replies.