Tagline without HTML tags in the
-
Hello!
I use html_entity_decode combined with get_bloginfo yo have a tagline with HTML :echo html_entity_decode(get_bloginfo( 'description' ));
which gives “The tagline of my site”.
Unfortunately, the tagline displays with HTML tags in my <title> </title> area.I try to use
echo strip_tags ((wp_title( '|', true, 'right' )));
but that does not work.Does anyone could give me a solution to strip tags in <title>?
Regards.
- The topic ‘Tagline without HTML tags in the’ is closed to new replies.