Skip Navigation

[Résolu] i deleted cpt-fields but i dont want it..

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

Problem:

The issue here is that the user accidentally deleted his custom fields from his post group and when trying to recreate the fields he gets a duplicate slug error.

Solution:

The reason for the error is because the group has been deleted but the individual fields have not been. The only way to delete the fields completely is by going to Toolset -> Post Fields -> Post Fields control.

With that said you can restore the fields or reuse the fields by when you are adding the fields to the group you click on the "Choose from previously created fields". You custom fields should be there.

This support ticket is created Il y a 6 années et 9 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

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

Dernière mise à jour par alexd-6 Il y a 6 années et 9 mois.

Assisté par: Shane.

Auteur
Publications
#617433
Screenshot 2018-02-19 15.21.18.png

Hi,

a big mistake! - I deleted the fieldset of a cpt from fields - can i restore it? - When i will do a new fieldset with same field/slugnames - the fieldset-editor said - slug is always used!

But i need the fieldset with same slugs for the Data of all CPTs!

please help me...

best regards - alex

#617540

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Screen Shot 2018-02-19 at 1.44.00 PM.png

Hi Alex,

Thank you for contacting our support forum.

To get this correct, you've already created a group of custom fields but accidentally deleted the group correct?

Now you're trying to recreate the group but its telling you that the slug you are using already exists.

That is because the group has been deleted but the individual fields have not been. The only way to delete the fields completely is by going to Toolset -> Post Fields -> Post Fields control.

With that said you can restore the fields or reuse the fields by when you are adding the fields to the group you click on the "Choose from previously created fields". You custom fields should be there.

Please let me know if this helps.

#617625

Hi, yes i deleted a group of fields - but the best way for me is to restore only the group of fields - i want to hold the data for all CPTs that i created before. i dont lost all data.

best regards - alex

#617910

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Alex,

Once the fields were not permanently removed the data should remain.

All you have to do is to just re-add them using the method I mentioned here : https://toolset.com/forums/topic/i-deleted-cpt-fields-but-i-dont-want-it/#post-617540

Please let me know if this helps or if you're having any issues.

Thanks,
Shane

#618010

Hey,

please repost the Link - it was the wrong one.. 😉

alex

#618033

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Alex,

I'll just post what I said

Hi Alex,

Thank you for contacting our support forum.

To get this correct, you've already created a group of custom fields but accidentally deleted the group correct?

Now you're trying to recreate the group but its telling you that the slug you are using already exists.

That is because the group has been deleted but the individual fields have not been. The only way to delete the fields completely is by going to Toolset -> Post Fields -> Post Fields control.

With that said you can restore the fields or reuse the fields by when you are adding the fields to the group you click on the "Choose from previously created fields". You custom fields should be there.

Please let me know if this helps.

#618170

Hey, thx - i read the text again and checked it now!

Thanks Shane