• 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.

Viewing 1 replies (of 1 total)
  • Hi,

    I don’t have the answer to this but am looking to accomplish the exact same thing (for MapPress). I would like to have an Address 1 Field, City Field, State, Field, and Zip field separately so that I can display the info elsewhere in the template but combine them into another custom field like “Address All” for populating the map. Has anyone done this? Thanks for any help!

Viewing 1 replies (of 1 total)
  • The topic ‘Combine mulitple custom fields into one custom field’ is closed to new replies.