Skip Navigation

[Resolved] Filter on CTP Taxonomy Archive

This support ticket is created 5 years, 3 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 doronN-2 5 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#1318751

I have CPT "package". It has a custom taxonomy "City". I have a view "Search" with a query filter enabled:
"Select posts with taxonomy:
Cities slug in all of those set by the URL parameter wpv-city
eg. hidden link
AND
Themes slug in one of those set by the URL parameter wpv-package-theme
eg. hidden link"

If on taxonomy archive "/city/jerusalem/" Search dropdown only shows "Jerusalem" as an option would like it to show the other taxonomy terms (i.e cities).

How can this be achieved?

Thanks!

#1318829

Hello,

I assume we are talking about these:
1) in the archive page of taxoterm "jerusalem"(taxonomy "city"):
/city/jerusalem/
2) You are using Views WordPress Archive to customize above taxonomy archive page,
3) In above Views WordPress Archive you are using a filter on taxonomy "city".

If it is, it is expected result:
on taxonomy archive "/city/jerusalem/" Search dropdown only shows "Jerusalem" as an option

Since it is archive page of term "jerusalem", all posts should be assigned with term "jerusalem", it can not display other posts which are not assigned with term "jerusalem", so the "city" taxonomy field shows only one option "Jerusalem".

As a workaround, you can create a taxonomy view:
- Query terms of taxonomy city
- In views loop, display term's archive page link:
[wpv-taxonomy-link]
hidden link

The display above taxonomy view in your WordPress Archive view, user can click the term's archive page link, and be redirectted to correct archive page.

#1319017

My issue is resolved now. Thank you!