is_archive == '1') && ($wp_query->is_author != '1')) {
$show_the_excerpt = $sumakweb_options['sumakweb_excerpt_archive_enable'] == 'on';
}
else if (get_post_type() == 'post') {
$show_the_excerpt = $sumakweb_options['sumakweb_excerpt_posts_enable'] == 'on';
if ($show_the_excerpt && $sumakweb_the_first_post) {
if ($sumakweb_options['sumakweb_excerpt_firstpost_disable'] == 'on') {
$show_the_excerpt = false;
}
}
}
}
if ($show_the_excerpt) {
if (has_post_thumbnail()) {
echo '
';
the_post_thumbnail('pic-icon');
echo '';
}
the_excerpt();
}
else the_content(__('Continue reading
→','sumakweb'));
if (is_page()) {
if ($sumakweb_options['sumakweb_parent_child_links_enable'] == 'on') {
if ($post->post_parent) $children = wp_list_pages(array('title_li' => 'sumakweb_tmp','child_of' => $post->post_parent,'echo' => 0));
else $children = wp_list_pages(array('title_li' => 'sumakweb_tmp','child_of' => $post->ID ,'echo' => 0));
if ($children) {
echo str_replace('sumakweb_tmp','
' . get_the_title($post->post_parent) . '',$children);
}
}
}
?>
'
' . __('Pages:','sumakweb') . '','after' => '
')); ?>