diff --git a/src/wp-content/themes/lqdvi/lib/custom.lib.php b/src/wp-content/themes/lqdvi/lib/custom.lib.php index 6072ace4..903262b7 100644 --- a/src/wp-content/themes/lqdvi/lib/custom.lib.php +++ b/src/wp-content/themes/lqdvi/lib/custom.lib.php @@ -375,8 +375,10 @@ function get_the_content_with_formatting ($more_link_text = '(more...)', $stript { $pp_blog_read_more_title = 'Read More'; } - - $content = get_the_content('', $stripteaser, $more_file); + $content = get_the_excerpt(); + if (strlen($content) < 1) { + $content = get_the_content('', $stripteaser, $more_file); + } $content = strip_shortcodes($content); $content = str_replace(']]>', ']]>', $content); $content = _substr(strip_tags(strip_shortcodes($content)), 600);