wordpress-popular-posts icon indicating copy to clipboard operation
wordpress-popular-posts copied to clipboard

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

Open cabrerahector opened this issue 2 years ago • 1 comments

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:

  • Using the post_html isn't necessary anymore to render the excerpt.
  • Nothing breaks for already-in-use [wpp] shortcodes out there to avoid negatively impacting the layout(s) people are using out there with this shortcode.

cabrerahector avatar Sep 11 '23 17:09 cabrerahector

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

cabrerahector avatar Sep 11 '23 17:09 cabrerahector

Fixed (by accident) in d2a69c8.

cabrerahector avatar Mar 30 '25 16:03 cabrerahector