Skip Navigation

[Resolved] Replicating view by taxonomy (no front end filter)

This support ticket is created 4 years, 11 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 – 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 4 replies, has 2 voices.

Last updated by catrionaD 4 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#1554501

Tell us what you are trying to do?
I am trying to replicate the layout here - hidden link - how should I set this up in the back end? I do not want front end filters. Each listing could belong to one or more groups: Inividuals, Families, Self isolating, Businesses. Within that each listing will fall into a type of support e.g. health, finance, work. I would like all of these displayed on the page for anyone scrolling.

#1554535

Hello,

I think it is possible with Toolset, for example, you can try these:
1) Create a custom post type "coronahub",
https://toolset.com/glossary/custom-post-type/
2) Create a custom taxonomy "support-for", register it to above post type
https://toolset.com/documentation/user-guides/custom-content/create-custom-taxonomies/
3) Add "coronahub" posts, setup term in taxonomy "support-for".
4) Use a nested view to display to the information as what you want:
a) Parent taxonomy view:
- Query term's of taxonomy "support-for"
- In view's loop, display below child post view
b) Child post view
- Query "coronahub" posts,
- Filter by:
Posts assigend with term from parent taxonomy view
Select posts with taxonomy:
"support-for" set by the parent Taxonomy View
- In view's loop display the "coronahub" post information

More help:
https://toolset.com/documentation/user-guides/views/using-a-child-view-in-a-taxonomy-view-layout/

#1554655

Hi, thanks for the quick response.
In 3) when you say add "coronahub" posts - what do I add these to?

Also, how do I get it to display/order posts by two levels?
1. By "support-for"
2. Within each "support-for" sections, then order by "support-type" (and is there a way I can specify the ordering under "support-type")

Thanks,
Cat

#1555657

Q: In 3) when you say add "coronahub" posts - what do I add these to?
See the document I mentioned above:
https://toolset.com/glossary/custom-post-type/

You can add/delete/edit "coronahub" posts in WordPress dashboard, see screenshot in above documenet:
https://toolset.com/wp-content/uploads/2019/11/glossary-wordpress-custom-post-type-1.png

Q: how do I get it to display/order posts by two levels?
See the document I mentioned above:
https://toolset.com/documentation/user-guides/views/using-a-child-view-in-a-taxonomy-view-layout/

And screenshot:
https://toolset.com/wp-content/uploads/2012/02/magazinecontentarea1.png

You can group the "coronahub" posts by taxonomy "support-for", and setup different orderby parameters in parent taxonomy view and child post view.

#1556155

My issue is resolved now. Thank you!