Custom Post Type Mashup

Home Forums MapPress Support Custom Post Type Mashup

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15023
    martyy
    Participant

      Hi,
      I can’t get the mashup to work on my custom post type (incl. the advanced custom fields plugin).
      I properly selected the fields (Lat and Long etc) in the mappress setting but no marker is showing. Only when I attach the map to the post type it works. However I want to use the custom fields. What could b wrong?
      Also: Do I need to set address when I have Lat and Long defined?

      #15024
      martyy
      Participant

        Another question: What do you mean by icon ID? can I use an image upload and reference that field?

        #15027
        Chris
        Keymaster

          Hi,

          For the custom fields: if you provide both address and lat/lng, the plugin will store the address but it won’t use it for geocoding. If you provide just the address, the plugin will geocode it.

          You can test you’ve set everything up correctly by entering the custom fields manually in a post and publishing it. You should see a map named ‘automatic’ is generated. Note that fields starting with underscore ‘_’ are hidden by WordPress, so you’ll need to pick a name that begins with a letter like ‘lat’ or ‘lng’.

          The iconid is either a standard icon (‘red-dot’) or the name of your own custom file (‘myicon.png’). There are sections in the documentation about custom icons and iconids.

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