with this code
$wptitle = str_replace(array('Versandkostenfrei'), 'Kostenloser Versand', $wptitle);
I exchange words in one of my loops.
Now I am trying to change a word that is called with
echo $term->name; how do I implement that? I tried
<?php $wptitle = str_replace(array(' .echo ($term->name;)'), '', $wptitle); ?>
but its obviously not working :-(