diff --git a/b2-include/b2template.functions.php b/b2-include/b2template.functions.php index 69e806233e..373915604d 100644 --- a/b2-include/b2template.functions.php +++ b/b2-include/b2template.functions.php @@ -622,7 +622,9 @@ function previous_post($format='%', $previous='previous post: ', $title='yes', $ ++$querycount; if ($lastpost) { $string = ''.$previous; - $string .= wptexturize(stripslashes($lastpost->post_title)); + if ($title == 'yes') { + $string .= wptexturize(stripslashes($lastpost->post_title)); + } $string .= ''; $format = str_replace('%', $string, $format); echo $format;