diff --git a/whiteboard/comments.php b/whiteboard/comments.php index 7f49ae5..dfa7000 100644 --- a/whiteboard/comments.php +++ b/whiteboard/comments.php @@ -10,11 +10,12 @@ - +

    +
  1. @@ -89,4 +90,4 @@

    - \ No newline at end of file + diff --git a/whiteboard/functions.php b/whiteboard/functions.php index b18b06a..81d33e6 100644 --- a/whiteboard/functions.php +++ b/whiteboard/functions.php @@ -63,7 +63,7 @@ function cwc_rss_post_thumbnail($content) { } // custom background support - add_custom_background(); + add_theme_support('custom-background'); // custom header image support define('NO_HEADER_TEXT', true ); @@ -79,7 +79,9 @@ function admin_header_style() { } 'admin_header_style' + )); // adds Post Format support // learn more: http://codex.wordpress.org/Post_Formats @@ -100,7 +102,8 @@ function wb_remove_version() { function comment_count( $count ) { if ( ! is_admin() ) { global $id; - $comments_by_type = &separate_comments(get_comments('status=approve&post_id=' . $id)); + $comments = get_comments('status=approve&postid=' . $id); + $comments_by_type = separate_comments($comments); return count($comments_by_type['comment']); } else { return $count; @@ -202,4 +205,4 @@ function lgap_main_page() { '; } // end LifeGuard Assistant -?> \ No newline at end of file +?>