Wp all export loop
I’m little bit stuck right here, and i require your help =)
So i use the plugin “WP all export” and for one of my client, i have to sort an XML feed base on a template that have to be respected !
So as you know this plugin have an XML editor, but i have some trouble to understand how to do what i want to do with it
My xml feed must look like something like that
<offer> <Formation> <Action city="Paris"> //Action#1 <Date Session="01/04/2020"> </Date> <Date Session="20/04/2020"> </Date> <Date Session="12/06/2020"> </Date> </Action> <Action city="Madrid"> //Action#2 <Date Session="01/05/2020"> </Date> <Date Session="04/05/2020"> </Date> </Action> </Formation> </offer>
My wish is to create ( as i show above) multiple “date” by action, and to even multiple “action” but the actual template authorize something like that (without a loop):
<offer> <Formation> <Action city="Paris"> <Date Session="01/04/2020"> </Date> </Action </Formation> </offer>
As you can see the second one do not accept a foreach loop to show multiple or multiple inside this action
How can i do this ?
(Apologizes if it’s real bad explains, ask your question i’ll try to answer my best to make a better undestanding of my problem)