Hi @sarrendell,
We can try one more thing. If this not works please wait a bit for the upcoming update.
Okay, let’s try this. Edit the file /templates/block-map.php in the plugin folder. It looks like this:
<?php require_once "$this->plugin_path/templates/partial-map-init.php"; ?>
<div class="open-user-map">
<?php require_once "$this->plugin_path/templates/partial-map-add-location.php"; ?>
<?php require_once "$this->plugin_path/templates/partial-map-render.php"; ?>
</div>
Remove everything and insert this instead:
<?php require_once "$this->plugin_path/templates/partial-map-init.php"; ?>
<div class="open-user-map">
<?php
$plugin_path = $this->plugin_path;
add_action('wp_footer', function () use (
$plugin_path,
$oum_map_label,
$types,
$oum_marker_types_label,
$oum_title_label,
$oum_address_label,
$oum_description_label,
$oum_ui_color,
$oum_enable_user_notification,
$text_notify_me_on_publish_label,
$thankyou_text,
$map_style,
$text_notify_me_on_publish_name,
$text_notify_me_on_publish_email,
$thankyou_headline,
$oum_addanother_label) {
echo '<div class="open-user-map">';
require_once "$plugin_path/templates/partial-map-add-location.php";
echo '</div>';
});
?>
<?php #require_once "$this->plugin_path/templates/partial-map-add-location.php"; ?>
<?php require_once "$this->plugin_path/templates/partial-map-render.php"; ?>
</div>
Save the file and test again. Please let me know if it works.
Best Regards,
Daniel