mjnswp
Forum Replies Created
-
Forum: Plugins
In reply to: [wp-Typography] not working with acf wysiwyg fieldI’m using Advanced Custom Fields PRO Version 6.3.8.
It works fine on every other field and fieldtype, the problem occurs on wysiwyg fields within an acf group (and probably repeater). I just tried changing the group and repeater settings to “treat as body text”, just in case (because it was on “do not filter” per default), but its still not working.
Forum: Plugins
In reply to: [Leaflet Map] leaflet-marker shortcode, check if address existswell I’m centering the map around all markers with fitbounds, but the center is ofcourse way off when theres markers in the middle of the worldmap. not sure its a better user experience, just some specific need for my current project
Oh enabling the class names solves the Problem for me, didn’t know that was possible. Thanks a lot!
Hey,
thanks for the quick reply.
Sadly that wouldn’t solve my problem. For example I would like the default button color to be var(–maincolor) from my child-theme css file. Exporting and importing settings wouldn’t help, since that variable ofcourse changes from customer to customer.
It’s kinda hard targeting the banner elements with css, because they mostly don’t have any classes or ids.Forum: Plugins
In reply to: [Leaflet Map] HTML inside Marker-Popupyeah seems like a Real Cookie Banner problem. thanks for your reply anyways!
if anyone else comes across this problem. it’s working if I wrap the popup html in htmlspecialchars().
but get_the_permalink was giving me errors, so I also had to cut the permalink and only use the path, like:// cut permalink $postlink = get_the_permalink(); $postlinkPath = parse_url($postlink)['path']; // marker popup html in variable $markerPopupContent = '<span class="infobox_ort">'.$acf_field_ort.'</span><h4 class="infobox_title">'.get_the_title().'</h4><div style="font-size:1.4rem;margin-bottom:1rem;">'.$acf_field_veranstaltungsadresse.'</div><a href="'.$postlinkPath.'" class="button inView" style="background-color:'.$acf_field_farbcode.';">Info</a>'; // output popup variable with htmlspecialchars() echo do_shortcode('[leaflet-marker address="'.$acf_field_veranstaltungsadresse.'" svg background="'.$acf_field_farbcode.'"]'.htmlspecialchars($markerPopupContent).'[/leaflet-marker]');
Forum: Plugins
In reply to: [Leaflet Map] HTML inside Marker-Popupthe problem seems to be the content blocker from Real Cookie Banner. do you think there’s a way you could help me make it work?