WordPress.org

Forums

Single Latest Posts Lite
Blog excerpt on home page (3 posts)

  1. blueberry25
    Member
    Posted 1 year ago #

    Hello,
    I'm using the latest version of your plugin. I would like to have 3 latest excerpts with title and dates on my home page.
    My shortcut is following:

    [slposts title="Blog - Latest posts" title_only=false suppress_filters=true number_posts=3 excerpt_length=40 excerpt_trail=image full_meta=true posts_per_page=3]

    Unfortunately I can't get the excerpts displayed. Just title and date.

    Thank you very much for your help.
    Regards

    http://wordpress.org/plugins/single-latest-posts-lite/

  2. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, if excerpts are not being displayed it means your posts have no excerpts. If you don't want to create an excerpt for each one of them, then you could use the auto_excerpt parameter to force Single Latest Posts to create one from posts' content.

    Try using this shortcode instead:

    [slposts title="Blog - Latest posts"
              title_only=false
              suppress_filters=true
              number_posts=3
              excerpt_length=40
              auto_excerpt=true
              excerpt_trail=image
              full_meta=true
              posts_per_page=3
    ]

    I'm looking forward to your feedback.

    Best regards.

  3. blueberry25
    Member
    Posted 1 year ago #

    Works like a charm! Thank you very much!

    Just one thing, I'm trying to align the date of the post with its title.
    I've tried this code:

    .slposts-ulist-meta{
    position:relative;
    top:-30px;
    }
    It moved up the date but the text of the excerpt text is still wrapping around the place where the date use to be.

    Thanks again.
    Best regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Single Latest Posts Lite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic