Hi,
i reconnect to ticket https://toolset.com/forums/topic/dynamic-selection-menu/.
The solution includes creating a dedicated custom post type but I would have to copy the content from an already active select menu. How can I do that?
Regards
Thank you for contacting us and I'd be happy to assist.
> The solution includes creating a dedicated custom post type but I would have to copy the content from an already active select menu. How can I do that?
- I'm afraid, I couldn't fully understand the requirement around the 'already active select menu'. Can you please share some more details? I'll be in a better position to suggest the next steps, accordingly.
I have a custom post type with different sections (example "Persona 1", "Persona 2" etc).
Into "Persona 1" I have a nationality field with different entries (these are also translated into the different languages).
Now I should create the nationality field for the other groups (Persona 2 etc..) as well.
I would like to automatically insert all the entries into "Persona 1" -> "nationality" into "Persona x" -> "nationality" so that if I change the parent selection menu the others will also change.
If you've added the options for the one select type custom field with slug 'persona-1' and would like to use the same options for the other select fields with titles e.g. 'Persona 2', 'Persona 3', 'Persona 4' etc, the code for the 'wpt_field_options' filtering function would look like this: