{"id":203,"date":"2021-12-20T12:50:07","date_gmt":"2021-12-20T07:20:07","guid":{"rendered":"https:\/\/hostkicker.com\/blog\/?p=203"},"modified":"2022-05-17T11:38:37","modified_gmt":"2022-05-17T06:08:37","slug":"how-to-display-accurate-comment-count-on-wordpress","status":"publish","type":"post","link":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/","title":{"rendered":"How To Display The Most Accurate Comment Count On WordPress"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">In WordPress, if you want to display comment count, it is suitable to say the most accurate comment count. <\/span><\/p>\n<p><span data-preserver-spaces=\"true\">However, WordPress by default adds up trackbacks, pending moderation, spam, and pings with comments which increases the total comment count.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This Write-up will discuss how to display the most accurate comment count on your website.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">Display Most Accurate Comment Count in WordPress by using codes.<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">1. In WordPress, open your template folder. In your\u00a0 <\/span><em><span data-preserver-spaces=\"true\">functions.php<\/span><\/em><span data-preserver-spaces=\"true\">, paste the following code to filter out trackbacks and pings and only display the actual comment count to your users.<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\">add_filter('get_comments_number', 'comment_count', 0);<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">function comment_count( $count ) {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">if ( ! is_admin() ) {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">global $id;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">$comments_by_type = &amp;separate_comments(get_comments('status=approve&amp;post_id=' . $id));<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">return count($comments_by_type['comment']);<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">} else {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">return $count;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">}<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">}\u00a0<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\">You can show the most accurate comment count using the above code snippet.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">2. This is another code you can use.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">\u00a0In your WordPress site, place the following code:<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\"> function hostkicker_comment_count() {\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">function comment_count( $count ) {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0\u00a0if ( ! is_admin() ) {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0$comments_by_type = &amp;separate_comments(get_comments('status=approve'));<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0return count($comments_by_type['comment']);<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0\u00a0} else {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0return $count;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0\u00a0}<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">}<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">add_filter('get_comments_number', 'comment_count', 0);<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">$actual_comment_count = get_comments_number();\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">return $actual_comment_count;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">}<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">add_shortcode('actual_comment_count', 'hostkicker_comment_count');\u00a0<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\">The above code creates a shortcode that you can use anywhere on your website to show the total comments on your website. Also, it excludes the trackbacks, pings, and unapproved comments o your site.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Just <\/span><span data-preserver-spaces=\"true\">add the following shortcode anywhere you would like to<\/span>\u00a0display the comment count:<\/p>\n<p><span data-preserver-spaces=\"true\">[actual_comment_count]<br \/>\n<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Here is how it looks on site:<br \/>\n<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-207\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/acurate-comment-count-300x135.jpg\" alt=\"\" width=\"478\" height=\"215\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/acurate-comment-count-300x135.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/acurate-comment-count.jpg 550w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Moreover, You can use this shortcode in your WordPress theme templates using the following code:<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\"> &lt;?php echo do_shortcode('[actual_comment_count]'); ?&gt;<\/span><\/pre>\n<h2><span data-preserver-spaces=\"true\">Using Plugin<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">If you don&#8217;t want to use the coding method, this method provides an easy way to display the total comment count on your site, including pingbacks and trackbacks.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">So without any further delay, install and activate\u00a0<\/span><strong><span data-preserver-spaces=\"true\">the Simple Blog Stats plugin.<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">In WordPress, go to plugins &gt;&gt; search for Simple Blog Stats plugin&gt;&gt; Install &gt;&gt; Activate plugin.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This plugin contains many shortcodes which you can use anywhere on your website to display different stats of your site.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For example, you can display a total number of posts, users, or comments.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For shortcodes, go to settings &gt;&gt; simple blog stats page.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-205\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/simple-blog-stats-shortcodes-300x170.png\" alt=\"\" width=\"410\" height=\"233\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/simple-blog-stats-shortcodes-300x170.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/simple-blog-stats-shortcodes.png 550w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">To display the total count of comments on your website, you can use the following shortcode:<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\">[sbs_approved]<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\">After that, you will see the most accurate comment count on the WordPress website.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Have a look.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-211\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/comment-count-plugin-300x135.jpg\" alt=\"\" width=\"476\" height=\"214\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/comment-count-plugin-300x135.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/comment-count-plugin.jpg 550w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">The concern with this method is that it includes all the approved pings and trackbacks in your WordPress comment count.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>To sum up<\/strong>, if you want to display the correct comment count on your website, then you have to use the code snippets or plugins. By default, WordPress adds up trackbacks, pending moderation, spam, and pings with comments, increasing the total comment count. You can use any of the above suitable methods to give the exact number to the users.\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In WordPress, if you want to display comment count, it is suitable to say the most accurate comment count. However, WordPress by default adds up trackbacks, pending moderation, spam, and pings with comments which increases the total comment count. This Write-up will discuss how to display the most accurate comment count on your website. Display [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":280,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-203","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How To Display The Most Accurate Comment Count On WordPress<\/title>\n<meta name=\"description\" content=\"Want To display The Most Accurate Comment Count In WordPress. Here Are The Two Methods You Can Use. First Is Plugins And Other By Coding.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Display The Most Accurate Comment Count On WordPress\" \/>\n<meta property=\"og:description\" content=\"Want To display The Most Accurate Comment Count In WordPress. Here Are The Two Methods You Can Use. First Is Plugins And Other By Coding.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostkicker\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-20T07:20:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-17T06:08:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-10-01.png\" \/>\n\t<meta property=\"og:image:width\" content=\"693\" \/>\n\t<meta property=\"og:image:height\" content=\"511\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Olivia Smith\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olivia Smith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/\"},\"author\":{\"name\":\"Olivia Smith\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\"},\"headline\":\"How To Display The Most Accurate Comment Count On WordPress\",\"datePublished\":\"2021-12-20T07:20:07+00:00\",\"dateModified\":\"2022-05-17T06:08:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/\"},\"wordCount\":426,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-featured-image-10-01.png\",\"articleSection\":[\"Wp tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/\",\"name\":\"How To Display The Most Accurate Comment Count On WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-featured-image-10-01.png\",\"datePublished\":\"2021-12-20T07:20:07+00:00\",\"dateModified\":\"2022-05-17T06:08:37+00:00\",\"description\":\"Want To display The Most Accurate Comment Count In WordPress. Here Are The Two Methods You Can Use. First Is Plugins And Other By Coding.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-featured-image-10-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-featured-image-10-01.png\",\"width\":693,\"height\":511,\"caption\":\"How To Display The Most Accurate Comment Count On WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-display-accurate-comment-count-on-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Display The Most Accurate Comment Count On WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"name\":\"Hostkicker\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\",\"name\":\"Hostkicker\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"width\":940,\"height\":218,\"caption\":\"Hostkicker\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\",\"name\":\"Olivia Smith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"caption\":\"Olivia Smith\"},\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/author\\\/olivia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How To Display The Most Accurate Comment Count On WordPress","description":"Want To display The Most Accurate Comment Count In WordPress. Here Are The Two Methods You Can Use. First Is Plugins And Other By Coding.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How To Display The Most Accurate Comment Count On WordPress","og_description":"Want To display The Most Accurate Comment Count In WordPress. Here Are The Two Methods You Can Use. First Is Plugins And Other By Coding.","og_url":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/","og_site_name":"Hostkicker","article_published_time":"2021-12-20T07:20:07+00:00","article_modified_time":"2022-05-17T06:08:37+00:00","og_image":[{"width":693,"height":511,"url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-10-01.png","type":"image\/png"}],"author":"Olivia Smith","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Olivia Smith","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/#article","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/"},"author":{"name":"Olivia Smith","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660"},"headline":"How To Display The Most Accurate Comment Count On WordPress","datePublished":"2021-12-20T07:20:07+00:00","dateModified":"2022-05-17T06:08:37+00:00","mainEntityOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/"},"wordCount":426,"commentCount":0,"publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-10-01.png","articleSection":["Wp tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/","url":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/","name":"How To Display The Most Accurate Comment Count On WordPress","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-10-01.png","datePublished":"2021-12-20T07:20:07+00:00","dateModified":"2022-05-17T06:08:37+00:00","description":"Want To display The Most Accurate Comment Count In WordPress. Here Are The Two Methods You Can Use. First Is Plugins And Other By Coding.","breadcrumb":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/#primaryimage","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-10-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-10-01.png","width":693,"height":511,"caption":"How To Display The Most Accurate Comment Count On WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/hostkicker.com\/blog\/how-to-display-accurate-comment-count-on-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostkicker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Display The Most Accurate Comment Count On WordPress"}]},{"@type":"WebSite","@id":"https:\/\/hostkicker.com\/blog\/#website","url":"https:\/\/hostkicker.com\/blog\/","name":"Hostkicker","description":"Blog","publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostkicker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostkicker.com\/blog\/#organization","name":"Hostkicker","url":"https:\/\/hostkicker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","width":940,"height":218,"caption":"Hostkicker"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660","name":"Olivia Smith","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","caption":"Olivia Smith"},"url":"https:\/\/hostkicker.com\/blog\/author\/olivia\/"}]}},"jetpack_featured_media_url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-featured-image-10-01.png","_links":{"self":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/comments?post=203"}],"version-history":[{"count":15,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/203\/revisions"}],"predecessor-version":[{"id":486,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/203\/revisions\/486"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media\/280"}],"wp:attachment":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media?parent=203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/categories?post=203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/tags?post=203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}