'Recently Listed Properties' ), $attrs)); if(isset($attrs['show']) && is_numeric($attrs['show'])) { $show = $attrs['show']; } else { $show = '4'; } $args = array( 'numberposts' => $show, 'post_type' => 'post', 'orderby' => 'post_date', 'order' => 'DESC', 'post_status' => 'publish'); $posts = wp_get_recent_posts($args, OBJECT); $return_string = '

' . esc_html($title) . '

'; $return_string .= '
'; foreach($posts as $post) : if(intval($show) % 3 == 0) { $return_string .= '
'; } else { $return_string .= '
'; } $return_string .= '
'; $post_link = get_permalink($post->ID); $post_image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); $return_string .= ''; $return_string .= '
'; $return_string .= '
'; $return_string .= ''; $return_string .= '

' . esc_html($post->post_title) . '

'; $post_author = get_the_author_meta( 'display_name' , $post->post_author ); $post_date = get_the_date('F j, Y',$post->ID); $return_string .= ''; $return_string .= '
'; $return_string .= '
'; endforeach; $return_string .= '
'; wp_reset_postdata(); wp_reset_query(); return $return_string; } endif; ?> Blog | F & V Sheahan | F & V Sheahan are one of the most respected auctioneering firms in Cork city.

Sample Post Featured

Sample text. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer […]