WordPress.org

Forums

WordPress Popular Posts
[resolved] No "summary" appears. (2 posts)

  1. dr_mortiz
    Member
    Posted 2 years ago #

    Hello,

    First, I would like to thank you for your work in this plugin. It's been a real contribution to the WordPress ecosystem.

    I'm using this plugin to generate a "Most Popular Posts" Page, using the following shortcode:

    [wpp range=monthly order_by=views stats_comments=0 limit=10 post_type=post do_pattern=1 pattern_form="{title}: {summary}"]

    I installed your plugin and for some strange reason, no "summary" is shown. Now, not all the posts have "real" excerpts (we use the "automatic excerpt" feature a lot). But it doesn't matter: no excerpt ("real" -written in the "excerpt" text box-, or "automatic" -generated by WordPress from the first characters of the post-) is being shown.

    Hopefully, you have the answer for this problem.

    Again, thank you.

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Hector Cabrera
    Member
    Plugin Author

    Posted 2 years ago #

    Hi there,

    You need to specify the length of the excerpt for it to work, like this:

    [wpp range=monthly order_by=views stats_comments=0 limit=10 post_type=post do_pattern=1 pattern_form="{title}: {summary}" excerpt_length=15]

    It's not intuitive, I know. Will add this observation to the FAQ section, so thank you for posting this!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Popular Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic