$output .= '<div class="entry ' . $post_status . '">'; if( !empty( $whitepaper_part ) ) $output .= '<div class="whitepaper-part">Part ' . $whitepaper_part . '</div>'; $output .= '<header class="entry-header"><h2 class="entry-title" itemprop="headline">'; if( $post_status == 'publish' ) $output .= '<a class="entry-title-link" rel="bookmark" href="'. get_the_permalink( $id ) . '">' . get_post( $id )->post_title . '</a>'; else $output .= get_post( $id )->post_title; $output .= '</h2></header>'; $output .= '<div class="entry-content" itemprop="text">'; if( $post_status == 'publish' ) $output .= '<a class="entry-image-link" href="'. get_the_permalink( $id ) . '" aria-hidden="true" tabindex="-1">'; $output .= '<img src="' . $fivetwelve_designlab_feature_url . '" />'; if( $post_status == 'publish' ) $output .= '</a>'; $output .= '<p>'; if( $post_status == 'publish' ) $output .= '<a class="more-link" href="'. get_the_permalink( $id ) . '">Read More</a>'; elseif( $post_status == 'future' ) $output .= '<span class="coming-soon"><small>Available</small><br />' . get_the_date( 'F j, Y', $id ) . '</span>'; else $output .= '<span class="coming-soon">Coming soon!</span>'; $output .= '</p></div></div>';