Support » Plugin: Leaflet Map » How to adjust code?

  • bartmann2

    (@bartmann2)


    So, we wanted to insert post content for the popups, and we used the InsertPost plugin and had to edit the plugin code very slightly – now we want to prevent updates from overwriting. I’m not so smart nor a developer, so how do we do this? Can I put these edited functions in my themes functions.php or something?

    class.shortcode.php
    ->function shortcode($atts = ”, $content = null)…

    class.leaflet-map.php
    -> function add_popup_to_shape($atts, $content, $shape)…

    Cheers,
    Bart

    The page I need help with: [log in to see the link]

  • The topic ‘How to adjust code?’ is closed to new replies.