Skip Navigation

[Resolved] Group Search Results by Custom Post Type

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 10 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.
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.

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: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by kitsG 10 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#138694

I have 3 Post Types (Events, News, Retreats). I've created a search form using VIEWS, this is a keyword based search where in it will get results from the 3 post types. My question is how to group the results according to post type? Something like this:

EVENTS
- event sample results
- event sample results

News
- news sample results
- news sample results

Retreats
- retreat sample results
- retreat sample results

Hope you can help me with this. Thanks

#138709

Hi kitsG,

I suggest you try create three different views, filter by same URL parameters, but select different post types. for example:
EVENTS:
[wpv-view name="event view"]
News:
[wpv-view name="news view"]
Retreats:
[wpv-view name="retreat view"]

#138729

Thanks Luoy! That solved it. Thanks

The forum ‘Types Community Support’ is closed to new topics and replies.

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.