How to get Images included in Post

You can use get_posts() (Codex ref for getting Post attachments). <?php $args = array( ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘numberposts’ => -1, ‘post_status’ => null, ‘post_parent’ => $post->ID ); $attached_images = get_posts( $args ); ?>

Get author full name

Try the following: <?php $fname = get_the_author_meta(‘first_name’); $lname = get_the_author_meta(‘last_name’); $full_name=””; if( empty($fname)){ $full_name = $lname; } elseif( empty( $lname )){ $full_name = $fname; } else { //both first name and last name are present $full_name = “{$fname} {$lname}”; } echo $full_name; ?>