Skip Navigation

[Resolved] Showing content per specific taxonomy

This support ticket is created 4 years, 9 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)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by leilaG 4 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1498363

Is it possible to show specific content on a post, depending on which taxonomy has been selected.

For example if we have a taxonomy:

Locations:
- London
- Scotland

And a post had taxonomy 'London' selected how could we show some content on that page specifically for London?

Thanks!

#1498459

Shane
Supporter

Languages: English (English )

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

Hi Leila,

Thank you for getting in touch.

You should be able to achieve exactly this by using the conditional code below.
https://toolset.com/documentation/user-guides/views/conditional-html-output-in-views/displaying-taxonomies-conditionally/#specific

Please let me know if this helps.
Thanks,
Shane

#1503365

Great. Thank you for the guide.