Saltar navegación

[Resuelto] Loop Editor – How to rename templates

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
The user would like to rename the content template used in a view loop. The content template is on the templates of this view section.

Solution:
We can change the name and slug of such templates in Toolset->Content Templates. Edit link on the content template inside the list.

This support ticket is created hace 4 años, 8 meses. 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por PaulS4783 hace 4 años, 8 meses.

Asistido por: Jamal.

Autor
Mensajes
#1590555

I've got loops that refer to a loop item templates.
enlace oculto
enlace oculto

Is there any way to RENAME the loop template e.g. from "Ad format - grid" to something else?
I can only see an option to "REMOVE" the template (which I assume means the whole thing).

#1590773

Hello and thank you for contacting the Toolset support.

You can edit the content template name in Toolset->Content Templates, locate the template and edit it. You will have to update your view loop code to use the new name. Or you can remove the content template shortcode and insert it again with the "content template" button to add it automatically on the section "Templates for this view" on the view.

I hope this helps. Let me know if you have any doubts.

#1596731

thank you. You can close the ticket.