• Resolved joloshop

    (@joloshop)


    Hi I am using $wptitle = str_replace(array('Versandkostenfrei'), 'Kostenloser Versand', $wptitle); to Exchange words in my theme.

    With <?php echo $term->name; ?> I can call a therten Name which I would like tom change with the same function. I tried $wptitle = str_replace(array(' .echo ($term->name;)'), '', $wptitle);?> but obviously not working :-(.

Viewing 1 replies (of 1 total)
  • Thread Starter joloshop

    (@joloshop)

    found a solution $wptitle = str_replace( $term->name, '', $wptitle );

Viewing 1 replies (of 1 total)
  • The topic ‘use str_replace’ is closed to new replies.