ID, '_kad_blog_carousel_title', true ); if( $text != '') { echo '

'.$text.'

'; } else {echo '

Recent Posts

';} ?>
query(array( 'post__not_in' => array($post->ID), 'posts_per_page'=>6)); $count =0; if ( $wp_query ) : while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
> ID ) ) { $image_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); $thumbnailURL = $image_url[0]; $image = aq_resize($thumbnailURL, $catimgwidth, $catimgheight, true); if(empty($image)) {$image = $thumbnailURL;} }else { $theme_url = get_template_directory_uri(); $image = $theme_url.'/assets/img/post_standard.jpg'; }?>
<?php the_title(); ?>