Saltar navegación

[Resuelto] Adding fake taxonomy terms

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

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Saul Baizman 4 years, 6 months ago.

Autor
Mensajes
#2245431
diagram.jpg

Hi there,

I'm using the legacy version of Toolset that includes the Types, Layouts, and Views plugins.

My client's website is a course catalog. One page contains a view listing categories within the catalog:

enlace oculto

The categories correspond to terms in a taxonomy named "Catalog Categories."

I would like to add two "fake" categories on the page. How can I insert these two fake categories and position them at the beginning of the list?

See attached screenshot for a very abstract version of what I'm trying to accomplish.

Thank you!

Saul

#2245521

I used the following filter: wpv_filter_taxonomy_post_query.

Learn more at https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_taxonomy_post_query.