cabrerahector / wordpress-popular-posts

WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.
https://wordpress.org/plugins/wordpress-popular-posts/
GNU General Public License v2.0
280 stars 83 forks source link

[wpp] shortcode won't render the excerpt unless we explicitely add it to the HTML code via post_html #373

Open cabrerahector opened 9 months ago

cabrerahector commented 9 months ago

Ever since its introduction the [wpp] shortcode will not render the excerpt even if the user sets its length via excerpt_length as instructed. This is confusing because the user doesn't know that they also need to add the {excerpt} Content Tag somewhere in their shortcode via post_html.

Let's review this part of the code so that:

cabrerahector commented 9 months ago

See: https://wordpress.org/support/topic/post-excerpt-not-displaying-2/