Skip Navigation

[Resolved] Difference between two shortcodes

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

Problem:

The user wanted to know the difference between
[wpv-taxonomy-field name="***"] and [types termmeta='***'][/types]
Solution:

Essential both fields does the same thing by retrieving content from the term custom fields, however the [types termmeta='***'][/types] shortcode can only target fields that were created using Types.

The [wpv-taxonomy-field name="***"] can be used for any custom field even if it was created by a 3rd party plugin, as long as you know the name of the field, then the info can be retrieved.

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

This topic contains 2 replies, has 2 voices.

Last updated by Ben 5 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1158036

Ben

What are the differences between the two following shortcodes? Are there any advantages in using one over the other?

[wpv-taxonomy-field name="***"]
 [types termmeta='***'][/types]
#1158090

Shane
Supporter

Languages: English (English )

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

Hi Ben,

Thank you for contacting our support forum.

Essential both fields does the same thing by retrieving content from the term custom fields, however the [types termmeta='***'][/types] shortcode can only target fields that were created using Types.

The [wpv-taxonomy-field name="***"] can be used for any custom field even if it was created by a 3rd party plugin, as long as you know the name of the field, then the info can be retrieved.

Thanks,
Shane

#1158140

Ben

Thank you very much for the information Shane!