function comments() { if ($this->comments) { thesis_comments_intro(count($this->comments), comments_open()); #wp thesis_comments_navigation(); echo "\t\t\t\t<dl id=\"comment_list\">\n"; thesis_list_comments(); echo "\t\t\t\t</dl>\n"; thesis_comments_navigation(2); } thesis_hook_after_comments(); }
function comments($user_data, $depth = 4) { if ($this->comments) { $tab = str_repeat("\t", $depth); thesis_comments_intro(count($this->comments), comments_open()); #wp thesis_comments_navigation(); echo "{$tab}<dl id=\"comment_list\">\n"; thesis_list_comments(); echo "{$tab}</dl>\n"; thesis_comments_navigation(2); } thesis_hook_after_comments(); }
?> </dd> <?php } ?> </dl> <?php } // Display comments (how deep does this rabbit hole go?). if ($only_comments) { thesis_comments_intro(count($only_comments), comments_open()); thesis_comments_navigation(); ?> <dl id="comment_list"> <?php thesis_list_comments(); ?> </dl> <?php thesis_comments_navigation(2); } elseif (comments_open()) { thesis_comments_intro(0, comments_open()); } } thesis_hook_after_comments(); if (!comments_open()) { ?> <div class="comments_closed"> <p><?php _e('Comments on this entry are closed.', 'thesis'); ?>