Yes David, that would be very helpful.
Actually, I think I have just now come across the solution from reading another thread on the forum, but maybe you can just tell me if I'm on the right track. My idea is:
1) Create a "post custom field" for each component of the complex address field and hide them all by setting the visibility to admin only on the advanced tab.
2) For each of these "post custom fields" I would then check the 'create content template' box, and select a merge tag value from the available address fields in the drop down.
3) Once I have a hidden "post custom field" for each component field of the address field, I can select an existing custom field for each of those, and I can end up with city, state, country etc into separate custom meta fields this way, which is what I need.
Is that what you would have suggested or is there another approach you would recommend?
I'm pretty sure this approach should work but it is dependent on each component field of the complex address field having it's own merge tag. I was just trying to figure out a similar problem using the 'list' advanced field type, and it seems that each cell of the list field does not have it's own merge tag, so how might I approach that one?
Thanks for your help.
Posted 12 years ago on Tuesday July 3, 2012 |
Permalink