Skip Navigation

[Resolved] Display Taxonomy or Post Data outside the loop both in archives and views

This thread is resolved. Here is a description of the problem and solution.

Problem:
How can we display Taxonomy Data (currently seen in archive) outside the Loop of the WordPress Archive?

Solution:
https://kb.onthegosystems.com/code-snippet/universal-shortcode-to-output-standard-and-custom-fields-of-terms-on-a-taxonomy-archive-page/
It needs custom code as above.

This support ticket is created 5 years, 8 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by BV 5 years, 8 months ago.

Assisted by: Beda.

Author
Posts
#1233060

BV

How to display taxonomy title + description outside of any loop at archive page? Any related shortcodes work only inside loops. [wpv-archive-title] works, but it displays also taxonomy name + doesn't help anyhow with term description.

#1233171

You mean, to display the currently viewed taxonomy title and description on a WordPress Archive created with Views?
I think in this case you will need some custom code:
hidden link

Can you let me know if that is what you were looking for?

#1233219

BV

My issue is resolved now. Thank you!