WordPress.org

Ready to get started?Download WordPress

Forums

the_post_thumbnail on another page (3 posts)

  1. sgonser
    Member
    Posted 2 years ago #

    Hello, I'm looking to pull 3 blogs to an index page (all on same domain) with the newest post displayed for each blog. I currently can accomplish this with SimplePie & RSS, but I want to display the_post_thumbnail (featured image) along with this information & not a small thumbnail that is currently being used.

    Can I pull the most recent post with the featured image to another page (index.php) without using RSS? The index page is located in 'articles/index.php' and each blog would be 'articles/blog1/' and so on.

    If anyone can steer me in the right direction I would be grateful. Thank you !

  2. Vanguard Digital
    Member
    Posted 2 years ago #

    I think the only way for this to work would be by setting up wordpress as a multi-site install or if the sites have a common database.

  3. sgonser
    Member
    Posted 2 years ago #

    I feel like this should be possible. Is there a way to php it into another page?

    For example, look at: http://www.coreperformance.com/daily

    How do they catch that image from the posts? I'm pretty sure they don't use WP, but I want to pull my header image..

    Here is the main index page: http://www.runsmartonline.com/articles/
    Blog 1: http://www.runsmartonline.com/articles/prevention/
    Blog 2: http://www.runsmartonline.com/articles/strength/
    Blog 3: http://www.runsmartonline.com/articles/efficiency/

    Thanks for future input!

Topic Closed

This topic has been closed to new replies.

About this Topic