+
+ $content = get_the_content();
+ $content = do_shortcode($content);
+ $trimmed_content = wp_trim_words($content, 37, '');
+ ?>
+
diff --git a/wp-content/themes/cyber/template-parts/content-search.php b/wp-content/themes/cyber/template-parts/content-search.php index 78376068..9b79a97d 100644 --- a/wp-content/themes/cyber/template-parts/content-search.php +++ b/wp-content/themes/cyber/template-parts/content-search.php @@ -37,8 +37,13 @@