test Recent Posts ’5′, ‘post_status’ => ‘publish’ ); //Shows 5 most published posts only $recent_posts = wp_get_recent_posts( $args ); foreach( $recent_posts as $recent ){ echo ‘ ’ . $recent[“post_title”].’ ‘; } ?> test page