WordPress.org

Ready to get started?Download WordPress

Forums

Single Latest Posts Lite
[resolved] Filter Option (5 posts)

  1. Mayuresh Bagwe
    Member
    Posted 1 year ago #

    Hello

    how filter post by category ? can u give me category short code and how I insert category id in Single Latest Posts Lite shortcode?
    Thanks
    Mayuresh bagwe

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

  2. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Mayuresh,

    To filter posts by category just use the category slug you want (not the ID), for example if your category is called "Beautiful Landscapes" its slug is "beautiful-landscapes", the shortcode to display titles, thumbnails and excerpts (taken from content) would look like this:

    [slposts title_only=false
               thumbnail=true
               auto_excerpt=true
               category=beautiful-landscapes
    ]

    Hope this points you in the right direction.

    Best regards,
    José Luis.

  3. Mayuresh Bagwe
    Member
    Posted 1 year ago #

    Yes Thanks.
    It's working.and if I want display two images ? so it's possible ?
    one is left side and second is right side.

    It's possible ?

  4. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Mayuresh, I'm glad it worked as expected. Responding to your question about the second image, it isn't possible because this plugin uses WordPress core functions to retrieve thumbnails, and WordPress per se doesn't allow multiple images.

    However you could customize the plugin to add a custom field to retrieve the image. It's open source, you have the right to do so.

    Kind regards.

  5. Mayuresh Bagwe
    Member
    Posted 1 year ago #

    Ok Thanks Jose Luis... my issue is solve...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.