maps from custom fields body field

Home Forums MapPress Support maps from custom fields body field

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11344
    vvwweb
    Participant

    Hi,

    I use maps from custom fields to auto generate maps, which works great.

    I use Address Line 1 for a custom field containing street name + house number, Address Line 2 for postal code and address line 3 for city.

    My question is, can I populate the “body” field(that’s how its called in mappress options) with a combo of those 3. Or is there another way to easily put the whole address in the map’s body or title somehow?

    Thanks in advance,

    Vincent

    #11346
    Chris
    Keymaster

    Hi Vincent,

    There’s no option to populate the body based on other fields.  I can think of three workarounds:

    1) If you leave the ‘body’ field blank the plugin will default the title & body based on the full address.

    2) You could specify a body custom field and then type in the full address in that field (which requires some redundant data entry)

    3) You could also write some custom PHP code to populate the body field based on the contents of the other fields.

    I hope that helps!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.