Glücklicherweise belässt Wordpress alles geänderte so wie es ist und versucht nicht es zu übersetzen, also kann man den Text einfach ändern. Wenn du dem Titel noch per CSS Eigenschaften zuweisen möchtest, könnte das so aussehen:
Code
[COLOR=#000000][COLOR=#006600]function [/COLOR][COLOR=#0000cc]get_the_title[/COLOR][COLOR=#006600]([/COLOR][COLOR=#0000cc]$id [/COLOR][COLOR=#006600]= [/COLOR][COLOR=#0000cc]0[/COLOR][COLOR=#006600]) {
[/COLOR][COLOR=#0000cc]$post [/COLOR][COLOR=#006600]= &[/COLOR][COLOR=#0000cc]get_post[/COLOR][COLOR=#006600]([/COLOR][COLOR=#0000cc]$id[/COLOR][COLOR=#006600]);
[/COLOR][COLOR=#0000cc]$title [/COLOR][COLOR=#006600]= [/COLOR][COLOR=#0000cc]$post[/COLOR][COLOR=#006600]->[/COLOR][COLOR=#0000cc]post_title[/COLOR][COLOR=#006600];
if ( !empty([/COLOR][COLOR=#0000cc]$post[/COLOR][COLOR=#006600]->[/COLOR][COLOR=#0000cc]post_password[/COLOR][COLOR=#006600]) )
[/COLOR][COLOR=#0000cc]$title [/COLOR][COLOR=#006600]= [/COLOR][COLOR=#0000cc]sprintf[/COLOR][COLOR=#006600]([/COLOR][COLOR=#0000cc]__[/COLOR][COLOR=#006600]([/COLOR][COLOR=#cc0000]'<div id=\"beliebigerName\">beliebiger Text: %s </div>'[/COLOR][COLOR=#006600]), [/COLOR][COLOR=#0000cc]$title[/COLOR][COLOR=#006600]);
return [/COLOR][COLOR=#0000cc]$title[/COLOR][COLOR=#006600];
}
[/COLOR][/COLOR]
Alles anzeigen
Das %s ist der Platzhalter für den Beitragstitel (ich weiß nicht wie weit deine Kenntnisse gehen, deshalb erwähn ich es einfach nochmal).