Saltar navegación

[Cerrado] using non-toolset fields in views and content templates

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.

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Christopher Amirian 7 months, 2 weeks ago.

Asistido por: Christopher Amirian.

Autor
Mensajes
#2830584

We are using the legacy Views plugin and want to be able to get custom field info for custom post types and fields NOT created by Toolset—is there a way to make [types field='xxx'][/types] work with non-Toolset fields?

#2830827

Christopher Amirian
Colaborador

Idiomas: Inglés (English )

Hi,

Welcome to Toolset support. No — the legacy [types] shortcode only works for fields created/managed by Toolset Types. For non-Toolset custom fields, use This:

[wpv-post-field name="your_meta_key"]

- Works with any post meta that’s stored under your_meta_key.
- Good for simple text/number values.
- It will not work for complex/serialized values.

Thanks.

El debate ‘[Cerrado] using non-toolset fields in views and content templates’ está cerrado y no admite más respuestas.