is_archive == '1')) {
$bwt_post_type = get_post_type();
if ($bwt_post_type == 'post') {
if (has_post_thumbnail()) {
echo '
';
the_post_thumbnail('pic-icon');
echo '';
}
$the_excerpt = get_the_excerpt();
if (strlen($the_excerpt) < (BWT_KISS_EXCERPT_LENGTH * BWT_KISS_AVERAGE_WORD_LENGTH)) the_content();
else echo $the_excerpt;
}
else the_content();
}
else the_content(__('Continue reading
→','bwt_kiss'));
if (is_page()) {
if ($post->post_parent) $children = wp_list_pages(array('title_li' => 'bwt_kiss_tmp','child_of' => $post->post_parent,'echo' => 0));
else $children = wp_list_pages(array('title_li' => 'bwt_kiss_tmp','child_of' => $post->ID ,'echo' => 0));
if ($children) {
echo str_replace('bwt_kiss_tmp','
' . get_the_title($post->post_parent) . '',$children);
}
}
?>
'
' . __('Pages:','bwt_kiss') . '','after' => '
')); ?>