Combine mulitple custom fields into one custom field
-
Hi all
I am trying to get two plugins to work together (“Business Directory Plugin” and “MapPress”). In the directory plugin I would like to have three custom fields (myPostcode, mapTitle and mapBody), I then need to combine these three custom fields into one custom field that MapPress needs to read. This custom field value needs to be:
address="[myPostcode]" title="[mapTitle]" body="[mapBody]"
This will allow MapPress to add a pin to a map using the myPostcode value, and populate the pop up info window with the values from myTitle and myBody.
Is there some php code that can achieve this? I would like to keep this as easy to use for the front-end user when they fill in the form.
Thanks for any guidance.
- The topic ‘Combine mulitple custom fields into one custom field’ is closed to new replies.