Skip Navigation

[Resolved] Types shortcode to display Term meta description on archive template

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.

Our next available supporter will start replying to tickets in about 0.26 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 5 replies, has 2 voices.

Last updated by martinE-4 4 years, 9 months ago.

Assisted by: Nigel.

Author
Posts
#1491527

I have a archive template for an archive with slug="asc" and I'm trying to display my archive description on it using the blocks editor and shortcode block:

[types termmeta = 'description'   ][/types]

It's not working?

#1491557

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

There isn't a shortcode to display the term data in the context of the archive without first creating a View for the taxonomy inserted into the archive.

Except!

This has been on our to-do list for a long time, and you will be able to use the shortcodes such as wpv-taxonomy-description (https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-taxonomy-description) and related shortcodes directly in archives in the next version of Views (& Blocks).

We are hoping to have that out tomorrow, subject to final testing on our own sites. I'll let you know.

If it is going to take longer I'll share a custom shortcode with you.

#1492557

Excellent! I'll look forward to it! Thanks.

#1494105

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Martin

The updates are now available on the downloads page (toolset.com/account/downloads), and will soon be available from your plugin updates page (you may need to try the Check for Updates button).

The new versions now support using the wpv-taxonomy- shortcodes inside the archive (incl. outside of the loop).

#1494717
WordPress_Archives_‹_ART___DIALOGUE___ACTION_—_WordPress.jpg

Hi Nigel
Just found a glitch with the new update - it produces a strange and alarming string of errors on the Toolset Archives page? (image enclosed)

However, the shortcode [wpv-taxonomy-description ] works great . Thanks so much!! It's beautiful to see these descriptions magically appear now!

I'm migrating a Drupal site to WordPress (using the marvelous time-saving plugin FG Drupal to WordPress, and apparently it is common in Drupal to use the taxonomy description so I am greatly relieved to have this ability now.

Juan told me that the pre-filter on taxonomy views is coming out soon too, so I'm excited to use that on this project. These are all things that Drupal can do so it's great to be able to do them in WordPress with Toolset!!

#1495687

For some reason the warnings went away on their own.