Problem:
I'm trying to filter a Views (for a specific postype) by post status.
Solution:
We can filter Views Query by Post Status using the Query Filter option, as explained here: https://toolset.com/documentation/user-guides/filtering-views-query-by-post-status/
But it cannot be used as Search Filter Control or parametric filter. The alternate approach is to add a Post Field (custom field, as radio type) >> name it as Status & assign to your specific post type >> set status for each post using this field >> then add it as a filter control in your Search Form.
The above is the only possibility we have right now for Post Status.
Relevant Documentation:
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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | - |
- | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | - |
Supporter timezone: Asia/Karachi (GMT+05:00)
Dieses Thema enthält 3 Antworten, hat 3 Stimmen.
Zuletzt aktualisiert von vor 7 Jahren, 7 Monaten.
Assistiert von: Noman.