Skip Navigation

[Résolu] View not always grouping custom fields in the Query Filter

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 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.

Marqué : ,

This topic contains 2 réponses, has 2 voix.

Last updated by lindsayH Il y a 1 an.

Assigned support staff: Jamal.

Auteur
Publications
#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

Jamal
Supporter

Languages: Anglais (English ) Français (Français )

Timezone: Africa/Casablanca (GMT+01:00)

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!