WordPress.org

Ready to get started?Download WordPress

Forums

Single Latest Posts Lite
Latest and random post (3 posts)

  1. GeorgeBX
    Member
    Posted 11 months ago #

    i need to be able to display a random post as well as the latest post (on 2 different pages) is ther a way to do this. I would like to avoid having to use 2 different plugins

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

  2. romaiden
    Member
    Posted 11 months ago #

    Hi again, Jose.

    I need use the SLPL on my Home page showing the latest posts, and the last one with picture, as you can find on http://www.ImmiFlex.com (scrolling to the 3 boxes (yellow, blue, red) but, I need only for the yellow and blue). This images are not the first image in the posts and my theme does not support thumbs, I need to point to these jpg files.

    Is possible to do something in regards to this or do I need to find another way to supply this?

    I am using this post, because the style should be completely different of that other page where I have the pagination issue: http://www.ImmiFlex.com/ImmiNews-wellmune/

    Thank you

  3. Jose Luis SAYAGO
    Member
    Plugin Author

    Posted 11 months ago #

    @GeorgeBX: Hi George, Single Latest Posts Pro allows you to display random latest posts, even you can set categories to display from & more options, this link shows how you can achieve this easily using shortcodes: Random Posts Example

    @romaiden: Hi, well that's more than this plugin can do right now. However, you can just edit the code to display custom thumbnails (in this case a custom image) for only one post just take a look where thumbnails are displayed within the source code then just play with PHP a little bit to make your images appear only for the last post of each iteration.

    To add support for thumbnails to your theme open functions.php file then add:

    add_theme_support('post-thumbnails');

    Cheers.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags