New Home

[insert_php]
$args = array( ‘post_type’ => ‘highlight’ );
$recent_posts = wp_get_recent_posts( $args );
foreach( $recent_posts as $recent ){
echo ‘

‘;
$feat_image = wp_get_attachment_url( get_post_thumbnail_id( $recent[‘ID’]) );
echo ‘‘;
/*echo ‘‘”;*/
echo ‘

‘;
echo ‘

‘;
echo ‘‘;
echo ‘

‘ . get_post_field(‘post_title’, $recent[‘ID’]) . ‘

‘;
echo ‘

‘ . get_post_field(‘post_content’, $recent[‘ID’]) . ‘

‘;
echo ‘

‘;
echo ‘‘;
echo ‘

‘;
//echo ‘

‘;
}
[/insert_php]