Hallo,
ich verzweifel langsam.
ich möchte meine Tags filtern.
PHP
<?php
function myTags($customTags) {
$customTags = str_replace ('featured', '', $customTags);
return $customTags;
}
add_filter('the_tags', 'myTags');
?>
das klappt prima, nur bleibt jetzt ein KOMMA stehen.
verusche ich es mit 'featured,' passiert garnichts :-(
Ich möchte in meiner Tag-Liste das featured mit dem KOMMA löschen.
Wer kann helfen?
Grüße,
derDenis