+
--- wp-content/themes/default/index.php
+++ wp-content/themes/default/index.php
@@ -7,7 +7,7 @@
--- wp-includes/template-functions-post.php +++ wp-includes/template-functions-post.php @@ -14,10 +14,12 @@ echo $id; } -function the_title($before = '', $after = '', $echo = true) { +function the_title($before = '', $after = '', $echo = true, $strip = false) { $title = get_the_title(); if ( strlen($title) > 0 ) { $title = apply_filters('the_title', $before . $title . $after, $before, $after); + if ($strip) + $title = strip_tags($title); if ($echo) echo $title; else --- wp-content/themes/default/archive.php +++ wp-content/themes/default/archive.php @@ -36,7 +36,7 @@