Hi Michael,
Thank you for waiting.
During the investigation, I discovered that the issue with the map markers stems from the custom function in your child theme's "functions.php" file:
// Rewrite the excerpt settings
remove_shortcode('wpv-post-excerpt');
remove_filter( 'get_the_excerpt', 'wp_trim_excerpt' );
function custom_excerpt($text = '') {
$raw_excerpt = $text;
if ( '' == $text ) {
$text = get_the_content('');
// $text = strip_shortcodes( $text );
$text = do_shortcode( $text );
$text = apply_filters('the_content', $text);
$text = str_replace(']]>', ']]>', $text);
$text = preg_replace('@<script[^>]*?>.*?</script>@si', '', $text);
//$text = strip_tags($text, '<p><a><img>');
$excerpt_length = apply_filters('excerpt_length', 55);
$excerpt_more = apply_filters('excerpt_more', ' ' . '[...]');
$text = wp_trim_words( $text, $excerpt_length, $excerpt_more );
}
return apply_filters('wp_trim_excerpt', $text, $raw_excerpt);
}
add_filter( 'get_the_excerpt', 'custom_excerpt' );
add_shortcode('wpv-post-excerpt', 'get_the_excerpt');
The issue is fixed if:
1. The above custom code is removed from the theme.
OR
2. Yoast SEO plugin is disabled.
OR
3. In map marker's shortcode, map's ID is updated to have "-2"
For example, if your map's shortcode is:
[wpv-map-render map_id="map-1"][/wpv-map-render]
And the map marker shortcode is:
[wpv-map-marker map_id='map-1' marker_id='marker-[wpv-post-id]' marker_field='wpcf-location-address'][/wpv-map-marker]
The updated map marker shortcode will become:
[wpv-map-marker map_id='map-1-2' marker_id='marker-[wpv-post-id]' marker_field='wpcf-location-address'][/wpv-map-marker]
Note: Since other plugins like Yoast SEO plugin can use default excerpt filter, it is a good idea to register new custom filter, instead of redefining the original one.
I hope this helps.
regards,
Waqar