Problem:
What I want to achieve: display primarily related posts of the child taxonomy where the view is inserted AND exclude some categories (I'm using the query for this at the moment). IF no other posts of the Child Taxonomy are available, then display posts of the Parent Taxonomy. IF no posts of the parent Taxonomy are available, then displays posts of the tagged WP Category. IF no other posts exist of the same category where the view is inserted, then display nothing.
Solution:
In your case, you might try custom codes, for example:
https://toolset.com/forums/topic/display-related-posts-based-on-taxonomy-child-term/#post-1758849
Relevant Documentation:
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 20 replies, has 3 voices.
Last updated by 4 years, 5 months ago.
Assisted by: Luo Yang.