Skip Navigation

[Résolu] Loop Editor – How to rename templates

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 4 années et 7 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par PaulS4783 Il y a 4 années et 7 mois.

Assisté par: Jamal.

Auteur
Publications
#1590555

I've got loops that refer to a loop item templates.
lien caché
lien caché

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.