Title: How to adjust code?
Last modified: October 1, 2019

---

# How to adjust code?

 *  [bartmann2](https://wordpress.org/support/users/bartmann2/)
 * (@bartmann2)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/how-to-adjust-code/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhow-to-adjust-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 * ![](https://ps.w.org/leaflet-map/assets/icon-256x256.png?rev=1693083)
 * [Leaflet Map](https://wordpress.org/plugins/leaflet-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-map/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-map/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [bartmann2](https://wordpress.org/support/users/bartmann2/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/how-to-adjust-code/)
 * Status: not resolved