Skip Navigation

[Resolved] Need to show data based on filter taxnomy filter for a post types

This support ticket is created 3 years, 6 months 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 3 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#2425499

Currently, I'm using the archive for filtering the books(Post Types) based on their assigned taxonomy term
Page URL: hidden link

For this, I've created a Post type: Books and added the books as items, and assigned them taxonomy. And then created the archive from the toolset and used it to provide the taxonomy filterr and loop the required fields.

But currently, I've a new requirement need to club the books (Post Types) items in particular series.
For example, if I've 50 items in Books post type then the first 10 should be in A series and the next 10 in B and so on.

And on view first need to show the series name and then show all the books under that.

Like on this page: hidden link

In above page some of the books have no series then those are coming on top of the page and then series like The Carolina Coast series, The Supper Club series ...

So, How can I achieve this series thing on my page with the Books and taxonomy filter using archive?

What kind of relationship between series and books should I use?
OR
Should I use a field in books post type field and then use it in the loop(in archive setting) to club all the different items and then club them. Is it possible?

#2425563

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for getting in touch.

Given that this is an archive a setup like this won't be possible to achieve. That's because it requires a nested view in order to display the Taxonomy title and then the posts under that taxonomy title similar to how you have it here.
hidden link

Thanks,
Shane