Using the actual excerpt for overview
-
Hey there.
Using the following short code gave us some odd behavior.
[sp_news grid=”3″ show_content=”true” show_full_content=”false” show_date=”false”]We added excerpts to every news article but the short version of the main content is shown instead. That’s not good, because the main content contains some short codes from other plugins that are now getting screwed up.
So we took a quick look into the plugin.
In the sp-news-and-widgets.php at line 271 it says:
$excerpt = get_the_content();
Wouldn’t it make more sense to actually use get_the_excerpt() so one can make use of the WordPress excerpts?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Using the actual excerpt for overview’ is closed to new replies.