Support » Plugin: Advanced Custom Fields: Leaflet Field » Add leaflet plugins

Viewing 1 replies (of 1 total)
  • Plugin Author jensnilsson


    Hello bernat_rp!

    Do you want to do this on the public-facing part of your site or within /wp-admin?

    This is not currently possible within /wp-admin if you don’t want to modify the plugins code.

    If you want to use it on the public-facing part I’m afraid you’ll have to write your own js-rendering, there’s an example of how to do this in /js/leaflet-frontend.js in the plugins directory and I’m sure there’s instructions on how to use the plugin on it’s website..

    The data is available for you just like any other field with the get_field function, take some time and study the data-structure.

Viewing 1 replies (of 1 total)
  • The topic ‘Add leaflet plugins’ is closed to new replies.