Irgendeine Idee, wie man das funktioniert?Setzen Sie wordpress title in Variable
$title = wp_title();
Das Problem ist Wordpress Echos automatisch die wp_title();
Irgendwelche Ideen?
Irgendeine Idee, wie man das funktioniert?Setzen Sie wordpress title in Variable
$title = wp_title();
Das Problem ist Wordpress Echos automatisch die wp_title();
Irgendwelche Ideen?
$title = wp_title('', 0);
Haben Sie sogar @ die Wordpress-Dokumentation angeschaut? Es liegt direkt hier: http://codex.wordpress.org/Function_Reference/wp_title
es wie so verwenden:
<?php wp_title($sep, $echo, $seplocation); ?>
wo $echo
ist boolean (true/false)
$ (boolean) (optional) Echo Echo der Titel (True) oder den Titel zur Verwendung als PHP-String zurückgeben (False).
Default: True
* 1 (True) - default
* 0 (False)