Skip Navigation

[Resolved] View not always grouping custom fields in the Query Filter

This thread is resolved. Here is a description of the problem and solution.

Problem:
The user wonders why some custom fields are in a separate grouping in the view's query dropdown selector.

Solution:
The "event-location" and "event-time" fields are managed by Toolset but were not created by Toolset.
These fields were added by another plugin. The fields created by Toolset contain the "wpcf-" prefix. Check this screenshot http://prntscr.com/v15u84

Toolset allows you to manage third-party plugin fields and allows you to add them to field groups, in order to get them grouped in the backend when creating/editing a post.

This support ticket is created 4 years 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by lindsayH 4 years ago.

Assisted by: Jamal.

Author
Posts
#1814583
edit-post-field-group.png
search-for-event-fields.png
Event fields found in Custom Fields group.png
Filter by list missing fields in the Event group.png

I have grouped fields in Custom Fields and attached to a Post Type (for example Appears on Post Type(s): Events). See edit-post-field-group and search-for-event-fields images attached.

When I go to a View and add a Query Filter, in the Filter by: list they are not always grouped as expected. So instead of being in the Events group they are lumped in the Custom Fields group. Please see 'Filter by list missing fields in the Event group' and 'Event fields found in Custom Fields group' - images attached.

#1814737

Hello and thank you for contacting the Toolset support.

The "event-location" and "event-time" fields are managed by Toolset but were not created by Toolset.
These fields were added by another plugin. The fields created by Toolset contain the "wpcf-" prefix. Check this screenshot hidden link

Toolset allows you to manage third-party plugin fields and allows you to add them to field groups, in order to get them grouped in the backend when creating/editing a post.

I wonder if this is blocking you from building your views, or if you were asking just to have a simpler UI?

#1815433

My issue is resolved now. Your explanation clarifies things beautifully. Thank you!