| @@ -1049,9 +1049,9 @@ | ||
| 1049 | 1049 | // Get recent posts for blog homepage |
| 1050 | 1050 | $recent_posts = get_posts(['numberposts' => 3]); |
| 1051 | 1051 | $content_parts = []; |
| 1052 | 1052 | foreach ($recent_posts as $post) { |
| 1053 | - $content_parts[] = $post->post_title . ' ' . wp_trim_words($post->post_content, 100); | |
| 1053 | + $content_parts[] = $post->post_title . ' ' . \ThinkRank\Core\Seo_Text::trim_words($post->post_content, 100, '...', 1000); | |
| 1054 | 1054 | } |
| 1055 | 1055 | $content = implode(' ', $content_parts); |
| 1056 | 1056 | } |
| 1057 | 1057 | break; |