Sauter la navigation

[Résolu] Deleting Content Templates

This support ticket is created Il y a 4 années et 8 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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: Asia/Kolkata (GMT+05:30)

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

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

Assisté par: Minesh.

Auteur
Publications
#1629745
Screenshot 2020-05-19 12.27.35.png

Tell us what you are trying to do? I was trying to delete a content template that was used by a view but I am not sure how to do this. Actually I wanted to delete the view and create a new one but as the content template was being used by the view I figure it would be better to delete the content template before deleting the view

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?lien caché

#1629821

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

It seems you want to delete the content templates whose name starts with "Loop item ...". If this is correct, those are view's template, you can not delete them directly as those are already used with views.

You need to unassign the content template from the view. I would like to know, are you using classic view or block view to build your view?

#1629829
Screenshot 2020-05-19 15.12.03.png

Hi Minesh

Thanks for the prompt response and update..

How do I unassign the content template from the view? If I were to Trash the VIEW would the content template be trashed too?

I think I am using BLOCKS view to build the view? Is there a way to confirm this.. if you check the screenshot you would see that the Toolset Blocks is network activate and not Toolset Views..

Please do advise..

Regards,
Alim

#1629845

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

How do I unassign the content template from the view? If I were to Trash the VIEW would the content template be trashed too?
==>
If you trash the View, once you trash it you need to permanently Delete that view and then that "loop item.." template associated with that view will also be deleted automatically. Pleaes make sure as you are going to delete the view, it will not be rollback.

#1630095

My issue is resolved now. Thank you!