'; if ( has_post_thumbnail() ) { $catchresponsive_page_slider .= ' '. get_the_post_thumbnail( $post->ID, 'catchresponsive-slider', array( 'title' => $title_attribute, 'alt' => $title_attribute, 'class' => 'attached-page-image' ) ).' '; } else { //Default value if there is no first image $catchresponsive_image = ''; //Get the first image in page, returns false if there is no image $catchresponsive_first_image = catchresponsive_get_first_image( $post->ID, 'catchresponsive-slider', array( 'title' => $title_attribute, 'alt' => $title_attribute, 'class' => 'attached-page-image' ) ); //Set value of image as first image if there is an image present in the page if ( '' != $catchresponsive_first_image ) { $catchresponsive_image = $catchresponsive_first_image; } $catchresponsive_page_slider .= ' '. $catchresponsive_image .' '; } $catchresponsive_page_slider .= ' '.the_title( '','', false ).' '.catchresponsive_page_post_meta().' '; if ( $excerpt !='') { $catchresponsive_page_slider .= ''. $excerpt.''; } $catchresponsive_page_slider .= '