WordPress.org

Ready to get started?Download WordPress

Forums

Get the latest posts featured images on first page. (5 posts)

  1. Mateus Neves
    Member
    Posted 2 years ago #

    Hello,

    I've recently bought this template: http://yootheme.com/demo/wordpress/pure, and I want to know how to put the three, more or less, featured images from the latest posts just like they do. So every time I add a new post, it's featured image will be automatically added on the first page and so on.

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    You need to ask the vendor of the theme as commercial themes are not supported here.

  3. Mateus Neves
    Member
    Posted 2 years ago #

    hm, I said wrong, they don't do this, just seems like, and that's why I'm trying to figure it out how to do. Also, I've just put the link as an example.

  4. alchymyth
    Forum Moderator
    Posted 2 years ago #

    general:

    you need to add a secondary loop to the front page template:

    http://codex.wordpress.org/The_Loop#Multiple_Loops

    with a custom query:

    http://codex.wordpress.org/Class_Reference/WP_Query

    querying for posts with a featured image:

    $args = array('meta_key' => '_thumbnail_id', 'posts_per_page' => 3);

    http://codex.wordpress.org/Post_Thumbnails

    details depend on the used theme.

  5. Matthew Gedeon
    Member
    Posted 2 years ago #

    The support forum for this theme appears to be here. Cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic