ID); //Fetch categories of the plugin
$p_in_c = false; // Variable to check if post exists in a particular category
$title = get_the_title($search->ID);
$title = aio_title_shorter($title,6);
//---------------------------------
if($aio_related_posts_settings['slider_show_images'] == 'Yes'){
$out_post_thumbnail = '';
}else{//if user dont want to show images from control panel
$out_post_thumbnail = '';
$out_post_thumbnail = ''. $counter++ .'.
';
}
$h3div = '';
$excerptdiv = '';
$excerptdiv .= aio_excerpt($search->ID,22);
$excerptdiv .='';
$timediv = ''.get_the_time('M j, Y',$search->ID). '
';
?>
-
|
align="center" rowspan="3"> |
|
|
";
if ($search_counter == $limit) break; // End loop when related posts limit is reached
} //end of foreach loop
echo '
';
}//end of searches if statement
else{
echo '