Home › Forums › MapPress Support › MashUp -> Link from Post to MashUp › Reply To: MashUp -> Link from Post to MashUp
February 8, 2021 at 10:18 am
#18854
Hello,
I found a small solution with the help of hashtags. For this I need the post title on the mashup page without spaces. I’ve tried it for a few hours now, but it doesn’t work. I would just have to remove the spaces from {{poi.title}}. Do you have a solution? I would be very grateful.
This is what my code currently looks like:
<div class=”mapp-title” value=”<?php $str = ‘{{poi.title}}’; echo wordwrap(strtolower($str), 1, ‘-‘, 0); ?>”>{{{poi.title}}}</div>