Skip Navigation

[Resolved] I have 2 Views with taxonomy filter but can't remove filter to start over

This support ticket is created 2 years, 10 months ago. 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by kristofG 2 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#2268537

I have 2 Views that each need to be filtered on 1 out of 2 taxonomies. One view lists the schools of 1 particular type. The other view lists the school in 1 particular area.
I struggled a bit with the filters, but now I can't seem to delete them to start over.

The "School Type" View seems to work, although the "locations" bit in the Query is obsolete but I can't delete it.
Select posts with taxonomy:
Locaties the same as the current post in the loop
AND
Types scholen the same as the current archive page

The "Locations" View does not work as it is currently set to:
Select posts with taxonomy:
Filter based on the frontend search filter by Locaties.

And I need that to be "Locatie scholen the same as the current archive page"

#2268757

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kristof,

Thank you for getting touch.
Would you mind allowing me to have admin access to the website so that I can have a more detailed look at this for you ?

Please where applicable please provide me with a link to an example page where I can see the issue.

I've enabled the private fields for your next response.

Thanks,
Shane

#2269597

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kristof,

Thank you for the login details.

I was able to remove the filters without any issues at all. The simplest way to do this is to remove the actual frontend filters and then save the view.

Once you've done this you will then be prompted about the "Search and Pagination " editor to delete the query filters and they can be deleted from here.

Please let me know if this helps.
Thanks,
Shane

#2269647

The "Locatie" View is now ok, I only have "Select posts with taxonomy: Locaties the same as the current archive page"
Luckily I was able to copy/paste the filter from the "Types" View as you deleted my code but did not paste it back.
However, when I delete the Search and Pagination code (I guess that's what you mean by "actual frontend filters") in the Types View and hit save, when I refresh the page, the filters are still there and there is no prompt by the Search and Pagination editor.

#2269779

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kristof,

Thank you for the additional information, however can you provide a screenshot of the exact filter that you would like to be removed?

Thanks,
Shane

#2272413

I now realize the order of the filter is different, that's why I thought one had obsolete code in it.

Select posts with taxonomy:
Filter based on the frontend search filter by Locaties.
AND
Types scholen the same as the current archive page

vs

Select posts with taxonomy:
Locaties the same as the current archive page
AND
Filter based on the frontend search filter by Types scholen.