WordPress.org

Ready to get started?Download WordPress

Forums

Network Latest Posts
[resolved] Not Showing excerpts (4 posts)

  1. eric.lasher
    Member
    Posted 2 years ago #

    Hi, I'm working with 3.3.2 and Network Latest Posts will not show the excerpts from the posts, only the title and "published in...." I've tried both of these configs. Any advice? here is site. http://blog.unmc.edu
    Thanks!

    [nlposts number='5' days='7' titleonly=false blogid=null wrapo='<div>' wrapc='<div>' thumbnail=true cpt=post ignore_blog=null cat=null tag=null paginate=true excerpt_length='250' display_root=false]

    and

    [nlposts number='5' days='7' titleonly=false blogid=null wrapo='<div>' wrapc='<div>' thumbnail=true cpt=post ignore_blog=null cat=null tag=null paginate=true display_root=false]

    http://wordpress.org/extend/plugins/network-latest-posts/

  2. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 2 years ago #

    Hello Eric, did you include an excerpt in those articles?, I'm using the latest version (2.0.3) and it's working, you can check it out 8elite.com. By the way you don't need to include the parameters you're not going to use, for example, if you want to display 5 posts published in the last 7 days and limit the excerpt length, paginating the results and using personalized wrappers, use this:

    [nlposts number='5' days='7' titleonly=false wrapo='<div>' wrapc='<div>' thumbnail=true paginate=true excerpt_length=250]

    The excerpt is taken from the Excerpt form inside the post page, if it's empty, NLP won't retrieve anything.

    Here's the link to the examples page: Network Latest Posts Examples where you can see the plugin correctly displays the excerpts.

    Cheers.

  3. eric.lasher
    Member
    Posted 2 years ago #

    Thank you iluminatus,

    I assumed it was parsing through post_content not post_excerpt.
    I modified the plugin to look in post_content and it suits my needs now. I appreciate your insight. Many thanks

  4. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 2 years ago #

    Good news Eric,

    Actually that's not a bad idea, I'll try to include a parameter on the next release to specify where it should extract the excerpt from.

    Thanks for your feedback.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic