The excerpt is ignored in the post type carousel
-
In carousel-slider/shortcodes/class-carousel-slider-shortcode.php there is the function filter_posts().
The excerpt is being set to:
'excerpt' => wp_trim_words( strip_tags($value->post_content), '19', ' ...' ),
Shouldn’t it first look for a manual excerpt, like this?
'excerpt' => $value->post_excerpt != "" ? $value->post_excerpt : wp_trim_words(strip_tags($value->post_content), '19', ' ...'),
Thanks for this great plugin!
- The topic ‘The excerpt is ignored in the post type carousel’ is closed to new replies.