post_password) && $pass != $post->post_password): echo '
'.__('Enter your password to view comments', ATOM).'
'; return; endif; // don't show this section if we're on a page with comments disabled and without any comments or pings in it // (we're assuming the site admin doesn't want this section there) if (!comments_open() && is_page() && empty($comments)) return; if ($comments || comments_open()): // count comments and pings $ping_count = 0; $comment_count = 0; foreach ($comments as $comment) if (get_comment_type() != "comment") $ping_count++; else $comment_count++; endif; // get related posts $related_posts = (atom_get_options('single_related') ? atom_get_related_posts() : false); $about_the_author = (atom_get_options('single_author') ? atom_get_author_info() : false); ?>