[Resolved] Reset Button in Filter Not Working when filtering Taxonomies

This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.

Related documentation:

This topic contains 5 replies, has 2 voices, and was last updated by  steve hampton 2 weeks ago. The support staff assigned to this topic is Luo Yang.

Viewing 6 posts - 1 through 6 (of 6 total)
Author
Posts
#574232

I am trying to: Filter custom posts by taxonomy using views. Once I filter a view and try to reset the filters, it won't reset.

Link to a page where the issue can be seen: http://plantdev.wpengine.com/introductions

I expected to see: the reset button work, and go back to no filters selected.

Instead, I got: the same filtered results page reloading when I hit reset

#574380

Luo Yang
Forum moderator

Supporter languages: English (English ) Chinese (Simplified) (简体中文 )

Supporter Timezone: Asia/Hong_Kong (GMT+08:00)

Dear Steve,

Thanks for the details, I can see the problem in your website, after click the button "Clear", the item "Queen Mum™ Agapanthus" disappear.

Please check this: edit post "Queen Mum™ Agapanthus", make sure there have already setup the field/taxonomy value for both field;
a) Plant Brand
b) Plant Types

And test again,

#574549

Both have the Taxonomies set.

This may be the issue why I am having trouble, there are two custom category taxonomies setup for this custom post type "Brand" and "Plant Type"

Is that causing the issue?

#574755

Luo Yang
Forum moderator

Supporter languages: English (English ) Chinese (Simplified) (简体中文 )

Supporter Timezone: Asia/Hong_Kong (GMT+08:00)

The problem is very strange, please try these in your website:
1) deactivate other plugins and switch to wordpress default theme, and test again
2) If the problem persists, please provide a database dump file(ZIP file) of your website in below "private detail box", I need to duplicate same problem and debug it in my localhost, thanks

#575258

Luo Yang
Forum moderator

Supporter languages: English (English ) Chinese (Simplified) (简体中文 )

Supporter Timezone: Asia/Hong_Kong (GMT+08:00)

Thanks for details, I can duplicate the same problem.
Here is what I found:
1) the problem page is a archive page of post type "introductions"
http://plantdev.wpengine.com/introductions

2) But you display the items with a normal view "Introductions General", ID 290

Normal view does not work as expected within the archive page, so the problem occurs.

I suggest you edit the layout "Layout for Introductions", ID 289, do these:
1) remove view cell for "Introductions General"
2) replace it with a wordpress archive cell, and you can also setup custom search form in the wordpress archive.
More help:
https://wp-types.com/documentation/user-guides/wordpress-archive-cell/
https://wp-types.com/documentation/user-guides/front-page-filters/

#575449

Thank you, the wordpress archive was what I was missing. I've set it up and the filters are working perfectly as is the reset button.

Viewing 6 posts - 1 through 6 (of 6 total)

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.