11.02.2021: There may be a delay in tickets response in the next couple of days. We apologise for any inconvenience caused.


Okay
  Print

Map View: Changing the event color box to Google Maps default pin

Open your theme functions.php and at the bottom paste this code:

add_action('wp_footer', function() {
    global $post;
    if (!is_a($post, 'WP_Post') || !has_shortcode($post->post_content, 'stachethemes_ec')) {
        return;
    }
    ?>
    <script type="text/javascript">
        (function ($) {
            $(function () {
                if (typeof $.stecExtend === 'undefined') {
                    return;
                }
                $.stecExtend(function (m) {
                    m.$instance.on('stecMapMarkerIcon', function (e, data) {
                        data.temp.stecMapMarkerIcon = '';
                    });
                });
            });
        })(window.jQuery);
    </script>
    <?php
});