Sauter la navigation

[Fermé] Repeating field group not copied when I duplicated a post

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

Ce sujet contient 1 réponse, a 2 voix.

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

Auteur
Publications
#2153329

Tell us what you are trying to do? Make a copy of a post (cpt nl2021) in order to create a modified version. This cpt has several custom fields, including a repeating field group. When I duplicate the post (I've tried multiple plugins for the purpose) the repeating field group in the new post is empty.

Is there any documentation that you are following? no

Is there a similar example that we can see? no

What is the link to your site? lien caché

#2153389

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi Chuck

As repeatable field groups are stored in separate (related) posts, duplicating a post will not duplicate its repeatable field groups.

You would need a code solution for that.

As it comes up quite often, some time ago I created a sample for use with the Yoast Duplicate Post plugin, which you can find here:

lien caché

Hopefully that still works as intended if you want to try that.

Le sujet ‘[Fermé] Repeating field group not copied when I duplicated a post’ est fermé à de nouvelles réponses.