Thanks, @tishonator.
I’m using a child theme, so I put the new function into the child’s function.php. That worked _after_ I went back and re-edited the text to remove the backslashes. Important step. ??
I hope you’re fixing that function so that it handles this. Seems like an important correction.
PS I had to tweak the theme css because it puts shadow-boxes around markers in leaflet. Here’s the addition I made:
{css}
/* Get rid of the box-shadows that show up on the markers */
#main-content-wrapper img {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}