Loop to fetch 3 post_thumbnail instances from 3 most recent custom post types named “portfolio”
Try this: <?php get_header(); ?> <div id=”content” class=”clearfix row”> <article id=”post-<?php the_ID(); ?>” <?php post_class(‘clearfix’); ?> role=”article”> <section id=”work” class=”row”> <div class=”span3″> <h3>Recent Work</h3> <p>Intro Lorem ipsum</p> </div> <?php $args = array( ‘post_type’ => ‘portfolio’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => 3 ); $query = new WP_Query( $args ); $porfolio_post_ids = array(); if ( $query->have_posts() ) … Read more