Navigation überspringen

[Warten auf die Bestätigung des Benutzers] Need to filter a News (CPT) Archive by Author and by Publish Date from FrontEnd.

This support ticket is created vor 1 week, 2 days. 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
- 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 3 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von Minesh vor 4 days, 13 hours.

Assistiert von: Minesh.

Author
Artikel
#2880358
Screenshot_20260917_085047.png

Welcome back support! I missed you. I have had to pivot my time to look for alternative solutions already, but I thought I would still share my need with you in case I missed something. I was very excited that I might have a new project that I could potentially use Toolset for since I haven't been able to use it on anything in 4 years (not entirely Toolsets fault). The fact that I had half of the archive page built and working in under 15 minutes was amazing, but I need to cover all their needs to move forward.

The task:

The site is transitioning from ACF and a Custom theme to Toolset Blocks and a Block theme. Toolset took over the CPTs and Taxonomies that existed (roughly 10k of posts) I then went to build out the archive page. The client wants the archive page to have several filtering options like text box, published dates with several variations, author, issue, section, topic. I have attached a screenshot of their mockup of how they wanted the archive to work. The Issue, Section, and topics are based on taxonomies so easy to create search filters.

The problem:

I got stuck on the Author and date requirements as I don't see any way to build that out using Toolset Blocks. I could work around the Author by creating a taxonomy for that one as well. While not practical it was a work around, but being able to filter by date for a newspaper is very important. So I was wondering if you all have helped anyone do that? Since a news site isn't one of your showcase examples I'm guessing you all haven't had a need to add these filter options. Since I can do it manually on the backend for a view I had assumed I could do it for the frontend filters as well.

Alternative solution:

Is there a way to link an external search plugins like https://wordpress.org/plugins/search-filter/ into your system. As this specific plugin included the dates filtering and maybe author filtering but failed to interact with the Toolset Loop.

Thank you for your time and I was really excited that you all put out a big update claiming 100% compatibility with WP7.1 (even if Fields and Text block is still broken on 7.1) The rework of block views did improve performance. I still get broken views when I try to edit them sometimes, but it was improved. Keep making improvements and I hope you all post them more often.

Jonathon

#2880525

Minesh
Unterstützer

Sprachen: Englisch (English )

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

Hello. Thank you for contacting the Toolset support.

Great that you appreciate the update and as the Blog title suggest, we will try to release update on monthly basis:
- https://toolset.com/2026/09/toolset-is-back-on-a-monthly-beat-wpml-5-0-wordpress-7-1-font-awesome-6-and-more/

Yes, there are few issues with WordPress 7.1 and we are working on that and by time everything woruld be stable.

Regarding the author filter - Yes, the workaround is either you should attach a taxonomy or a custom field as there is no such feature to add a frontend filter for authors.

The same way, you can add a custom date field and when you save the post, store the puglish date date date value to that custom field and later add the frontend filter for date using that custom date field.

So, basically, for authors and publish date you will need to use custom workarond by storing the author/publish date values to custom fields and add/use those custom fields as frontend filter for your view. You do not need any third party plugin for this.

#2880681

Hi Minesh, I understand what you are saying, but WordPress includes this content already. It seems really manual and silly to need to contain it again in the database. As far as I can tell i can setup a view on a page and filter by Author and date without custom fields if I wanted a static view. That same options need to be filters for a frontend search. I really think anything you can do from a view on the backend should be available for frontend filtering as well in some capacity. Just my two cents as I go off to find another solution.

Thank you for your time. I'm putting Toolset away for the moment and will look at it again when I get another update email.

#2881582

Minesh
Unterstützer

Ok. I will share your comment with our concern team.