<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" lang="ko-KR" xmlns:fb="https://www.facebook.com/2008/fbml" xmlns:addthis="https://www.addthis.com/help/api-spec" >
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" lang="ko-KR" xmlns:fb="https://www.facebook.com/2008/fbml" xmlns:addthis="https://www.addthis.com/help/api-spec" >
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html lang="ko-KR" xmlns:fb="https://www.facebook.com/2008/fbml" xmlns:addthis="https://www.addthis.com/help/api-spec" >
<!--<![endif]-->
<head><style>img.lazy{min-height:1px}</style><link href="https://www.wpdigest.kr/wp-content/plugins/w3-total-cache/pub/js/lazyload.min.js" as="script">
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width">
	
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<link rel="pingback" href="https://www.wpdigest.kr/xmlrpc.php">
	<!--[if lt IE 9]>
	<script src="https://www.wpdigest.kr/wp-content/themes/twentyfourteen/js/html5.js"></script>
	<![endif]-->
	<meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />
	<style>img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }</style>
	<!-- 사이트 키트에 의해 추가된 Google 태그(gtag.js) 동의 모드 dataLayer -->
<script id="google_gtagjs-js-consent-mode-data-layer">
window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}
gtag('consent', 'default', {"ad_personalization":"denied","ad_storage":"denied","ad_user_data":"denied","analytics_storage":"denied","functionality_storage":"denied","security_storage":"denied","personalization_storage":"denied","region":["AT","BE","BG","CH","CY","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IS","IT","LI","LT","LU","LV","MT","NL","NO","PL","PT","RO","SE","SI","SK"],"wait_for_update":500});
window._googlesitekitConsentCategoryMap = {"statistics":["analytics_storage"],"marketing":["ad_storage","ad_user_data","ad_personalization"],"functional":["functionality_storage","security_storage"],"preferences":["personalization_storage"]};
window._googlesitekitConsents = {"ad_personalization":"denied","ad_storage":"denied","ad_user_data":"denied","analytics_storage":"denied","functionality_storage":"denied","security_storage":"denied","personalization_storage":"denied","region":["AT","BE","BG","CH","CY","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IS","IT","LI","LT","LU","LV","MT","NL","NO","PL","PT","RO","SE","SI","SK"],"wait_for_update":500};
</script>
<!-- 사이트 키트에 의해 추가된 Google 태그(gtag.js) 동의 모드 dataLayer 종료 -->

	<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https://yoast.com/wordpress/plugins/seo/ -->
	<title>[연재] Comments Evolved plugin에서 댓글 수를 합산하는 방법(1) | [쌩초보의 워드프레스 도전기]</title>
	<meta name="description" content="          Comments Evolved 플러그인은 여러 종류의 댓글을 동시에 적용할 수 있는 유용한 도구이지만 그 동안 댓글 수의 총합을 표시하는 방법을 알지 못했다.  예전 글에서  잠시 언급한 바 있었지만 나중에 테스트 한 결과는 전혀 달라서 오랫 동안 이 문제를" />
	<link rel="canonical" href="https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/" />
	<meta property="og:locale" content="ko_KR" />
	<meta property="og:type" content="article" />
	<meta property="og:title" content="[연재] Comments Evolved plugin에서 댓글 수를 합산하는 방법(1) | [쌩초보의 워드프레스 도전기]" />
	<meta property="og:description" content="          Comments Evolved 플러그인은 여러 종류의 댓글을 동시에 적용할 수 있는 유용한 도구이지만 그 동안 댓글 수의 총합을 표시하는 방법을 알지 못했다.  예전 글에서  잠시 언급한 바 있었지만 나중에 테스트 한 결과는 전혀 달라서 오랫 동안 이 문제를" />
	<meta property="og:url" content="https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/" />
	<meta property="og:site_name" content="[쌩초보의 워드프레스 도전기]" />
	<meta property="article:published_time" content="2014-03-31T11:46:44+00:00" />
	<meta property="article:modified_time" content="2020-04-28T10:07:19+00:00" />
	<meta property="og:image" content="https://res.cloudinary.com/wpdigest-kr/images/w_90,r_max/f_auto,q_auto/v1394347391/comment-evolved-setting_eq3wx9/comment-evolved-setting_eq3wx9.png?_i=AA" />
	<meta property="og:image:width" content="593" />
	<meta property="og:image:height" content="619" />
	<meta property="og:image:type" content="image/png" />
	<meta name="author" content="Beginner" />
	<meta name="twitter:card" content="summary_large_image" />
	<meta name="twitter:creator" content="@AesopHan7" />
	<meta name="twitter:site" content="@AesopHan7" />
	<meta name="twitter:label1" content="글쓴이" />
	<meta name="twitter:data1" content="Beginner" />
	<meta name="twitter:label2" content="예상 되는 판독 시간" />
	<meta name="twitter:data2" content="1분" />
	<script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"Article","@id":"https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/#article","isPartOf":{"@id":"https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/"},"author":{"name":"Beginner","@id":"https://www.wpdigest.kr/#/schema/person/431c342e5cc515ed1d5ef5e6acb4ee5e"},"headline":"[연재] Comments Evolved plugin에서 댓글 수를 합산하는 방법(1)","datePublished":"2014-03-31T11:46:44+00:00","dateModified":"2020-04-28T10:07:19+00:00","mainEntityOfPage":{"@id":"https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/"},"wordCount":99,"commentCount":0,"publisher":{"@id":"https://www.wpdigest.kr/#/schema/person/1b0bf22c85b3cce4fa6b0c3cb295c1ab"},"image":{"@id":"https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/#primaryimage"},"thumbnailUrl":"https://res.cloudinary.com/wpdigest-kr/images/w_90,r_max/f_auto,q_auto/v1394347391/comment-evolved-setting_eq3wx9/comment-evolved-setting_eq3wx9.png?_i=AA","keywords":["Disqus","Facebook","Google Chrome","gplus","LiveRe","Mozilla Firefox","Pingback","plugin","Trackback","Web browser","Wordpress.org","설치","워드프레스"],"articleSection":["comments evolved","Plugin","PlugIn 기능별 분류","댓글 시스템"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/#respond"]}]},{"@type":"WebPage","@id":"https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/","url":"https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/","name":"[연재] Comments Evolved plugin에서 댓글 수를 합산하는 방법(1) | [쌩초보의 워드프레스 도전기]","isPartOf":{"@id":"https://www.wpdigest.kr/#website"},"primaryImageOfPage":{"@id":"https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/#primaryimage"},"image":{"@id":"https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/#primaryimage"},"thumbnailUrl":"https://res.cloudinary.com/wpdigest-kr/images/w_90,r_max/f_auto,q_auto/v1394347391/comment-evolved-setting_eq3wx9/comment-evolved-setting_eq3wx9.png?_i=AA","datePublished":"2014-03-31T11:46:44+00:00","dateModified":"2020-04-28T10:07:19+00:00","description":"          Comments Evolved 플러그인은 여러 종류의 댓글을 동시에 적용할 수 있는 유용한 도구이지만 그 동안 댓글 수의 총합을 표시하는 방법을 알지 못했다.  예전 글에서  잠시 언급한 바 있었지만 나중에 테스트 한 결과는 전혀 달라서 오랫 동안 이 문제를","breadcrumb":{"@id":"https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/#primaryimage","url":"https://res.cloudinary.com/wpdigest-kr/images/w_90,r_max/f_auto,q_auto/v1394347391/comment-evolved-setting_eq3wx9/comment-evolved-setting_eq3wx9.png?_i=AA","contentUrl":"https://res.cloudinary.com/wpdigest-kr/images/w_90,r_max/f_auto,q_auto/v1394347391/comment-evolved-setting_eq3wx9/comment-evolved-setting_eq3wx9.png?_i=AA","width":593,"height":619,"caption":"comment-evolved-setting"},{"@type":"BreadcrumbList","@id":"https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.wpdigest.kr/"},{"@type":"ListItem","position":2,"name":"[연재] Comments Evolved plugin에서 댓글 수를 합산하는 방법(1)"}]},{"@type":"WebSite","@id":"https://www.wpdigest.kr/#website","url":"https://www.wpdigest.kr/","name":"[쌩초보의 워드프레스 도전기]","description":"A Beginner&#039;s WP-Digest","publisher":{"@id":"https://www.wpdigest.kr/#/schema/person/1b0bf22c85b3cce4fa6b0c3cb295c1ab"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://www.wpdigest.kr/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":["Person","Organization"],"@id":"https://www.wpdigest.kr/#/schema/person/1b0bf22c85b3cce4fa6b0c3cb295c1ab","name":"aesop Hahn","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https://www.wpdigest.kr/#/schema/person/image/","url":"https://secure.gravatar.com/avatar/9c10fd452e92b0a4cc2ebfc1c3e0704c8c9f7b8844172c4c98740ab09669bf8c?s=96&d=wavatar&r=g","contentUrl":"https://secure.gravatar.com/avatar/9c10fd452e92b0a4cc2ebfc1c3e0704c8c9f7b8844172c4c98740ab09669bf8c?s=96&d=wavatar&r=g","caption":"aesop Hahn"},"logo":{"@id":"https://www.wpdigest.kr/#/schema/person/image/"}},{"@type":"Person","@id":"https://www.wpdigest.kr/#/schema/person/431c342e5cc515ed1d5ef5e6acb4ee5e","name":"Beginner","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https://www.wpdigest.kr/#/schema/person/image/","url":"https://secure.gravatar.com/avatar/3f732c8c3620a5b70c0c126b59ead852a74757964f673b0aa6a657c531c4b5c3?s=96&d=wavatar&r=g","contentUrl":"https://secure.gravatar.com/avatar/3f732c8c3620a5b70c0c126b59ead852a74757964f673b0aa6a657c531c4b5c3?s=96&d=wavatar&r=g","caption":"Beginner"}}]}</script>
	<!-- / Yoast SEO plugin. -->


<link rel='dns-prefetch' href='//www.googletagmanager.com' />
<link rel='dns-prefetch' href='//res.cloudinary.com' />
<link rel='preconnect' href='https://res.cloudinary.com' />
<link rel="alternate" type="application/rss+xml" title="[쌩초보의 워드프레스 도전기] &raquo; 피드" href="https://www.wpdigest.kr/feed/" />
<link rel="alternate" type="application/rss+xml" title="[쌩초보의 워드프레스 도전기] &raquo; 댓글 피드" href="https://www.wpdigest.kr/comments/feed/" />
<link rel="alternate" type="application/rss+xml" title="[쌩초보의 워드프레스 도전기] &raquo; [연재] Comments Evolved plugin에서 댓글 수를 합산하는 방법(1) 댓글 피드" href="https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/feed/" />
<script>
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/16.0.1\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/16.0.1\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.wpdigest.kr\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.8.5"}};
/*! This file is auto-generated */
!function(s,n){var o,i,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),a=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===a[t]})}function u(e,t){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);for(var n=e.getImageData(16,16,1,1),a=0;a<n.data.length;a++)if(0!==n.data[a])return!1;return!0}function f(e,t,n,a){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\udde8\ud83c\uddf6","\ud83c\udde8\u200b\ud83c\uddf6")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!a(e,"\ud83e\udedf")}return!1}function g(e,t,n,a){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):s.createElement("canvas"),o=r.getContext("2d",{willReadFrequently:!0}),i=(o.textBaseline="top",o.font="600 32px Arial",{});return e.forEach(function(e){i[e]=t(o,e,n,a)}),i}function t(e){var t=s.createElement("script");t.src=e,t.defer=!0,s.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",i=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){s.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+g.toString()+"("+[JSON.stringify(i),f.toString(),p.toString(),u.toString()].join(",")+"));",a=new Blob([e],{type:"text/javascript"}),r=new Worker(URL.createObjectURL(a),{name:"wpTestEmojiSupports"});return void(r.onmessage=function(e){c(n=e.data),r.terminate(),t(n)})}catch(e){}c(n=g(i,f,p,u))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);
</script>
<style id='wp-emoji-styles-inline-css'>

	img.wp-smiley, img.emoji {
		display: inline !important;
		border: none !important;
		box-shadow: none !important;
		height: 1em !important;
		width: 1em !important;
		margin: 0 0.07em !important;
		vertical-align: -0.1em !important;
		background: none !important;
		padding: 0 !important;
	}
</style>
<link rel='stylesheet' id='wp-block-library-css' href='https://www.wpdigest.kr/wp-includes/css/dist/block-library/style.min.css?ver=6.8.5' media='all' />
<style id='wp-block-library-theme-inline-css'>
.wp-block-audio :where(figcaption){color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio :where(figcaption){color:#ffffffa6}.wp-block-audio{margin:0 0 1em}.wp-block-code{border:1px solid #ccc;border-radius:4px;font-family:Menlo,Consolas,monaco,monospace;padding:.8em 1em}.wp-block-embed :where(figcaption){color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed :where(figcaption){color:#ffffffa6}.wp-block-embed{margin:0 0 1em}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:#ffffffa6}:root :where(.wp-block-image figcaption){color:#555;font-size:13px;text-align:center}.is-dark-theme :root :where(.wp-block-image figcaption){color:#ffffffa6}.wp-block-image{margin:0 0 1em}.wp-block-pullquote{border-bottom:4px solid;border-top:4px solid;color:currentColor;margin-bottom:1.75em}.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{color:currentColor;font-size:.8125em;font-style:normal;text-transform:uppercase}.wp-block-quote{border-left:.25em solid;margin:0 0 1.75em;padding-left:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;font-style:normal;position:relative}.wp-block-quote:where(.has-text-align-right){border-left:none;border-right:.25em solid;padding-left:0;padding-right:1em}.wp-block-quote:where(.has-text-align-center){border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote:where(.is-style-plain){border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-search__button{border:1px solid #ccc;padding:.375em .625em}:where(.wp-block-group.has-background){padding:1.25em 2.375em}.wp-block-separator.has-css-opacity{opacity:.4}.wp-block-separator{border:none;border-bottom:2px solid;margin-left:auto;margin-right:auto}.wp-block-separator.has-alpha-channel-opacity{opacity:1}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{margin:0 0 1em}.wp-block-table td,.wp-block-table th{word-break:normal}.wp-block-table :where(figcaption){color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table :where(figcaption){color:#ffffffa6}.wp-block-video :where(figcaption){color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video :where(figcaption){color:#ffffffa6}.wp-block-video{margin:0 0 1em}:root :where(.wp-block-template-part.has-background){margin-bottom:0;margin-top:0;padding:1.25em 2.375em}
</style>
<style id='classic-theme-styles-inline-css'>
/*! This file is auto-generated */
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
</style>
<style id='global-styles-inline-css'>
:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #fff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--green: #24890d;--wp--preset--color--dark-gray: #2b2b2b;--wp--preset--color--medium-gray: #767676;--wp--preset--color--light-gray: #f5f5f5;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}
:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}
:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}
:root :where(.wp-block-pullquote){font-size: 1.5em;line-height: 1.6;}
</style>
<link rel='stylesheet' id='estilo-css' href='https://www.wpdigest.kr/wp-content/plugins/simple-code-highlighter/estilo.css?ver=6.8.5' media='all' />
<link rel='stylesheet' id='tptn-style-left-thumbs-css' href='https://www.wpdigest.kr/wp-content/plugins/top-10/css/left-thumbs.min.css?ver=4.2.1' media='all' />
<style id='tptn-style-left-thumbs-inline-css'>

			.tptn-left-thumbs {
				--tptn-thumb-width: 62px;
				--tptn-thumb-height: 63px;
				--tptn-thumb-aspect-ratio: 62 / 63;
			}
			.tptn-left-thumbs img.tptn_thumb {
				width: min( var(--tptn-thumb-width), 100% );
				max-height: var(--tptn-thumb-height);
				height: auto;
				margin: auto;
			}
			.tptn-left-thumbs .tptn_title {
				width: 100%;
			}
			
</style>
<link rel='stylesheet' id='twentyfourteen-lato-css' href='https://www.wpdigest.kr/wp-content/themes/twentyfourteen/fonts/font-lato.css?ver=20230328' media='all' />
<link rel='stylesheet' id='genericons-css' href='https://www.wpdigest.kr/wp-content/themes/twentyfourteen/genericons/genericons.css?ver=3.0.3' media='all' />
<link rel='stylesheet' id='twentyfourteen-style-css' href='https://www.wpdigest.kr/wp-content/themes/twentyfourteen-child-01/style.css?ver=20250415' media='all' />
<link rel='stylesheet' id='twentyfourteen-block-style-css' href='https://www.wpdigest.kr/wp-content/themes/twentyfourteen/css/blocks.css?ver=20240708' media='all' />
<!--[if lt IE 9]>
<link rel='stylesheet' id='twentyfourteen-ie-css' href='https://www.wpdigest.kr/wp-content/themes/twentyfourteen/css/ie.css?ver=20140711' media='all' />
<![endif]-->
<link rel='stylesheet' id='yarpp-thumbnails-css' href='https://www.wpdigest.kr/wp-content/plugins/yet-another-related-posts-plugin/style/styles_thumbnails.css?ver=5.30.11' media='all' />
<style id='yarpp-thumbnails-inline-css'>
.yarpp-thumbnails-horizontal .yarpp-thumbnail {width: 130px;height: 170px;margin: 5px;margin-left: 0px;}.yarpp-thumbnail > img, .yarpp-thumbnail-default {width: 120px;height: 120px;margin: 5px;}.yarpp-thumbnails-horizontal .yarpp-thumbnail-title {margin: 7px;margin-top: 0px;width: 120px;}.yarpp-thumbnail-default > img {min-height: 120px;min-width: 120px;}
</style>
<link rel='stylesheet' id='addthis_all_pages-css' href='https://www.wpdigest.kr/wp-content/plugins/addthis/frontend/build/addthis_wordpress_public.min.css?ver=6.8.5' media='all' />
<script>
var CLDLB = {"image_optimization":"on","image_format":"auto","image_quality":"auto","enable_breakpoints":"on","breakpoints":"16","bytes_step":"200","max_width":"2048","min_width":"200","image_freeform":"w_90,r_max","video_player":"wp","video_controls":"on","video_loop":"off","video_autoplay_mode":"off","video_limit_bitrate":"off","video_bitrate":"500","video_optimization":"on","video_format":"auto","video_quality":"auto","video_freeform":"","image_delivery":"on","svg_support":"off","crop_sizes":"","image_preview":"https:\/\/res.cloudinary.com\/demo\/image\/upload\/w_600\/leather_bag.jpg","video_delivery":"on","video_preview":"","use_lazy_load":"on","lazy_threshold":"100px","lazy_custom_color":"rgba(153,153,153,0.5)","lazy_animate":"on","lazy_placeholder":"blur","dpr":"2X","lazyload_preview":"https:\/\/res.cloudinary.com\/demo\/image\/upload\/w_600\/leather_bag.jpg","pixel_step":"123","breakpoints_preview":"https:\/\/res.cloudinary.com\/demo\/image\/upload\/w_600\/leather_bag.jpg","overlay":"on","adaptive_streaming":"off","adaptive_streaming_mode":"mpd","placeholder":"e_blur:2000,q_1,f_auto","base_url":"https:\/\/res.cloudinary.com\/wpdigest-kr"};!function(){"use strict";const e=e=>Math.round(2*e)/2,t={deviceDensity:window.devicePixelRatio?window.devicePixelRatio:"auto",density:null,config:CLDLB||{},lazyThreshold:0,enabled:!1,sizeBands:[],iObserver:null,pObserver:null,rObserver:null,aboveFold:!0,minPlaceholderThreshold:500,bind(e){e.CLDbound=!0,this.enabled||this._init();const t=e.dataset.size.split(" ");e.originalWidth=t[0],e.originalHeight=t[1],this.pObserver?(this.aboveFold&&this.inInitialView(e)?this.buildImage(e):(this.pObserver.observe(e),this.iObserver.observe(e)),e.addEventListener("error",(t=>{e.srcset="",e.src='data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="rgba(0,0,0,0.1)"/><text x="50%" y="50%" fill="red" text-anchor="middle" dominant-baseline="middle">%26%23x26A0%3B︎</text></svg>',this.rObserver.unobserve(e)}))):this.setupFallback(e)},buildImage(e){e.dataset.srcset?(e.cld_loaded=!0,e.srcset=e.dataset.srcset):(e.src=this.getSizeURL(e),e.dataset.responsive&&this.rObserver.observe(e))},inInitialView(e){const t=e.getBoundingClientRect();return this.aboveFold=t.top<window.innerHeight+this.lazyThreshold,this.aboveFold},setupFallback(e){const t=[];this.sizeBands.forEach((i=>{if(i<=e.originalWidth){let s=this.getSizeURL(e,i,!0)+` ${i}w`;-1===t.indexOf(s)&&t.push(s)}})),e.srcset=t.join(","),e.sizes=`(max-width: ${e.originalWidth}px) 100vw, ${e.originalWidth}px`},_init(){this.enabled=!0,this._calcThreshold(),this._getDensity();let e=parseInt(this.config.max_width);const t=parseInt(this.config.min_width),i=parseInt(this.config.pixel_step);for(;e-i>=t;)e-=i,this.sizeBands.push(e);"undefined"!=typeof IntersectionObserver&&this._setupObservers(),this.enabled=!0},_setupObservers(){const e={rootMargin:this.lazyThreshold+"px 0px "+this.lazyThreshold+"px 0px"},t=this.minPlaceholderThreshold<2*this.lazyThreshold?2*this.lazyThreshold:this.minPlaceholderThreshold,i={rootMargin:t+"px 0px "+t+"px 0px"};this.rObserver=new ResizeObserver(((e,t)=>{e.forEach((e=>{e.target.cld_loaded&&e.contentRect.width>=e.target.cld_loaded&&(e.target.src=this.getSizeURL(e.target))}))})),this.iObserver=new IntersectionObserver(((e,t)=>{e.forEach((e=>{e.isIntersecting&&(this.buildImage(e.target),t.unobserve(e.target),this.pObserver.unobserve(e.target))}))}),e),this.pObserver=new IntersectionObserver(((e,t)=>{e.forEach((e=>{e.isIntersecting&&(e.target.src=this.getPlaceholderURL(e.target),t.unobserve(e.target))}))}),i)},_calcThreshold(){const e=this.config.lazy_threshold.replace(/[^0-9]/g,"");let t=0;switch(this.config.lazy_threshold.replace(/[0-9]/g,"").toLowerCase()){case"em":t=parseFloat(getComputedStyle(document.body).fontSize)*e;break;case"rem":t=parseFloat(getComputedStyle(document.documentElement).fontSize)*e;break;case"vh":t=window.innerHeight/e*100;break;default:t=e}this.lazyThreshold=parseInt(t,10)},_getDensity(){let t=this.config.dpr?this.config.dpr.replace("X",""):"off";if("off"===t)return this.density=1,1;let i=this.deviceDensity;"auto"!==i&&(i=e(i)),"max"!==t&&"auto"!==i&&(t=parseFloat(t),t=e(t),i=i>Math.ceil(t)?t:i),this.density=i},scaleWidth(e,t,i){const s=parseInt(this.config.max_width),r=Math.round(s/i);if(!t){t=e.width;let a=Math.round(t/i);for(;-1===this.sizeBands.indexOf(t)&&a<r&&t<s;)t++,a=Math.round(t/i)}return t>s&&(t=s),e.originalWidth<t&&(t=e.originalWidth),t},scaleSize(e,t,i){const s=e.dataset.crop?parseFloat(e.dataset.crop):(e.originalWidth/e.originalHeight).toFixed(2),r=this.scaleWidth(e,t,s),a=Math.round(r/s),o=[];return e.dataset.transformationCrop?o.push(e.dataset.transformationCrop):e.dataset.crop||(o.push(e.dataset.crop?"c_fill":"c_scale"),e.dataset.crop&&o.push("g_auto")),o.push("w_"+r),o.push("h_"+a),i&&1!==this.density&&o.push("dpr_"+this.density),e.cld_loaded=r,{transformation:o.join(","),nameExtension:r+"x"+a}},getDeliveryMethod:e=>e.dataset.seo&&"upload"===e.dataset.delivery?"images":"image/"+e.dataset.delivery,getSizeURL(e,t){const i=this.scaleSize(e,t,!0);return[this.config.base_url,this.getDeliveryMethod(e),"upload"===e.dataset.delivery?i.transformation:"",e.dataset.transformations,"v"+e.dataset.version,e.dataset.publicId+"?_i=AA"].filter(this.empty).join("/")},getPlaceholderURL(e){e.cld_placehold=!0;const t=this.scaleSize(e,null,!1);return[this.config.base_url,this.getDeliveryMethod(e),t.transformation,this.config.placeholder,e.dataset.publicId].filter(this.empty).join("/")},empty:e=>void 0!==e&&0!==e.length};window.CLDBind=e=>{e.CLDbound||t.bind(e)},window.initFallback=()=>{[...document.querySelectorAll('img[data-cloudinary="lazy"]')].forEach((e=>{CLDBind(e)}))},window.addEventListener("load",(()=>{initFallback()})),document.querySelector('script[src*="?cloudinary_lazy_load_loader"]')&&initFallback()}();
</script>
<script src="https://www.wpdigest.kr/wp-includes/js/jquery/jquery.min.js?ver=3.7.1" id="jquery-core-js"></script>
<script src="https://www.wpdigest.kr/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1" id="jquery-migrate-js"></script>
<script src="https://www.wpdigest.kr/wp-content/themes/twentyfourteen/js/functions.js?ver=20230526" id="twentyfourteen-script-js" defer data-wp-strategy="defer"></script>

<!-- Site Kit에서 추가한 Google 태그(gtag.js) 스니펫 -->
<!-- Site Kit에 의해 추가된 Google Analytics 스니펫 -->
<script src="https://www.googletagmanager.com/gtag/js?id=GT-K52P2X2" id="google_gtagjs-js" async></script>
<script id="google_gtagjs-js-after">
window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}
gtag("set","linker",{"domains":["www.wpdigest.kr"]});
gtag("js", new Date());
gtag("set", "developer_id.dZTNiMT", true);
gtag("config", "GT-K52P2X2", {"googlesitekit_post_type":"post","googlesitekit_post_categories":"comments evolved; Plugin; PlugIn \uae30\ub2a5\ubcc4 \ubd84\ub958; \ub313\uae00 \uc2dc\uc2a4\ud15c","googlesitekit_post_date":"20140331"});
 window._googlesitekit = window._googlesitekit || {}; window._googlesitekit.throttledEvents = []; window._googlesitekit.gtagEvent = (name, data) => { var key = JSON.stringify( { name, data } ); if ( !! window._googlesitekit.throttledEvents[ key ] ) { return; } window._googlesitekit.throttledEvents[ key ] = true; setTimeout( () => { delete window._googlesitekit.throttledEvents[ key ]; }, 5 ); gtag( "event", name, { ...data, event_source: "site-kit" } ); };
</script>
<link rel="https://api.w.org/" href="https://www.wpdigest.kr/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://www.wpdigest.kr/wp-json/wp/v2/posts/4960" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.wpdigest.kr/xmlrpc.php?rsd" />
<meta name="generator" content="WordPress 6.8.5" />
<link rel='shortlink' href='https://www.wpdigest.kr/?p=4960' />
<link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://www.wpdigest.kr/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.wpdigest.kr%2F2014%2F03%2Fsp2-how-to-sumup-comments-counts-in-comments-evolved-plugin%2F" />
<link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://www.wpdigest.kr/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.wpdigest.kr%2F2014%2F03%2Fsp2-how-to-sumup-comments-counts-in-comments-evolved-plugin%2F&#038;format=xml" />
<style>
		#category-posts-2-internal ul {padding: 0;}
#category-posts-2-internal .cat-post-item img {max-width: initial; max-height: initial; margin: initial;}
#category-posts-2-internal .cat-post-author {margin-bottom: 0;}
#category-posts-2-internal .cat-post-thumbnail {margin: 5px 10px 5px 0;}
#category-posts-2-internal .cat-post-item:before {content: ""; clear: both;}
#category-posts-2-internal .cat-post-excerpt-more {display: inline-block;}
#category-posts-2-internal .cat-post-item {list-style: none; margin: 3px 0 10px; padding: 3px 0;}
#category-posts-2-internal .cat-post-current .cat-post-title {font-weight: bold; text-transform: uppercase;}
#category-posts-2-internal [class*=cat-post-tax] {font-size: 0.85em;}
#category-posts-2-internal [class*=cat-post-tax] * {display:inline-block;}
#category-posts-2-internal .cat-post-item:after {content: ""; display: table;	clear: both;}
#category-posts-2-internal .cat-post-item .cat-post-title {overflow: hidden;text-overflow: ellipsis;white-space: initial;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;padding-bottom: 0 !important;}
#category-posts-2-internal .cat-post-item:after {content: ""; display: table;	clear: both;}
#category-posts-2-internal .cat-post-thumbnail {display:block; float:left; margin:5px 10px 5px 0;}
#category-posts-2-internal .cat-post-crop {overflow:hidden;display:block;}
#category-posts-2-internal p {margin:5px 0 0 0}
#category-posts-2-internal li > div {margin:5px 0 0 0; clear:both;}
#category-posts-2-internal .dashicons {vertical-align:middle;}
</style>
		<meta name="generator" content="Site Kit by Google 1.176.0" />
<!-- Site Kit에서 추가한 Google AdSense 메타 태그 -->
<meta name="google-adsense-platform-account" content="ca-host-pub-2644536267352236">
<meta name="google-adsense-platform-domain" content="sitekit.withgoogle.com">
<!-- Site Kit에서 추가한 Google AdSense 메타 태그 종료 -->

<!-- Site Kit에 의해 추가된 Google Tag Manager 스니펫 -->
<script>
			( function( w, d, s, l, i ) {
				w[l] = w[l] || [];
				w[l].push( {'gtm.start': new Date().getTime(), event: 'gtm.js'} );
				var f = d.getElementsByTagName( s )[0],
					j = d.createElement( s ), dl = l != 'dataLayer' ? '&l=' + l : '';
				j.async = true;
				j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
				f.parentNode.insertBefore( j, f );
			} )( window, document, 'script', 'dataLayer', 'GTM-WGFJ39' );
			
</script>

<!-- Site Kit에서 추가한 Google Tag Manager 스니펫 종료 -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8213150856863652"
     crossorigin="anonymous"></script>
<!--Start of Zopim Live Chat Script-->
<!--<script type="text/javascript">-->
<!--window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set._.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8');$.src='//v2.zopim.com/?2RsaJmCLoLGJ1gFuMeu6OEs0N57n7TYM';z.t=+new Date;$.type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script'); -->
<!--</script>-->
<!--End of Zopim Live Chat Script-->
</head>

<body class="wp-singular post-template-default single single-post postid-4960 single-format-standard wp-embed-responsive wp-theme-twentyfourteen wp-child-theme-twentyfourteen-child-01 group-blog masthead-fixed singular">

<!--for FB Comments 
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/ko_KR/all.js#xfbml=1&appId=326397747501741";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>	  
<!--for FB Comments -->

<div id="page" class="hfeed site">
	
	<header id="masthead" class="site-header" role="banner">
		<div class="header-main">
			<h1 class="site-title"><a href="https://www.wpdigest.kr/" rel="home">[쌩초보의 워드프레스 도전기]</a></h1>

			<div class="search-toggle">
				<a href="#search-container" class="screen-reader-text">검색</a>
			</div>

			<nav id="primary-navigation" class="site-navigation primary-navigation" role="navigation">
				<h1 class="menu-toggle">주 메뉴</h1>
				<a class="screen-reader-text skip-link" href="#content">컨텐츠로 건너뛰기</a>
				<div class="menu-main-menu-container"><ul id="menu-main-menu" class="nav-menu"><li id="menu-item-3865" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-3865"><a href="http://www.wpdigest.kr">홈</a></li>
<li id="menu-item-3891" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-3891"><a href="https://www.wpdigest.kr/category/installing/">설치</a>
<ul class="sub-menu">
	<li id="menu-item-3868" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3868"><a href="https://www.wpdigest.kr/category/installing/web-hosting/">Web Hosting</a></li>
	<li id="menu-item-3871" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3871"><a href="https://www.wpdigest.kr/category/installing/install-wordpress/">워드프레스 코어의 설치</a></li>
	<li id="menu-item-3903" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3903"><a href="https://www.wpdigest.kr/category/installing/install-wordpress/theme/">Theme</a></li>
	<li id="menu-item-7913" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-7913"><a href="https://www.wpdigest.kr/category/installing/other-installation/">기타(설치)</a></li>
</ul>
</li>
<li id="menu-item-3875" class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-has-children menu-item-3875"><a href="https://www.wpdigest.kr/category/functional-classification-of-plugin/">PlugIn</a>
<ul class="sub-menu">
	<li id="menu-item-3902" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3902"><a href="https://www.wpdigest.kr/category/functional-classification-of-plugin/plugin-installing/">PlugIn의 설치</a></li>
	<li id="menu-item-3876" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3876"><a href="https://www.wpdigest.kr/category/functional-classification-of-plugin/social-login/">Social Login</a></li>
	<li id="menu-item-3877" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3877"><a href="https://www.wpdigest.kr/category/functional-classification-of-plugin/social-share/">social share</a></li>
	<li id="menu-item-3879" class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-3879"><a href="https://www.wpdigest.kr/category/functional-classification-of-plugin/commenting-system/">댓글 시스템</a></li>
	<li id="menu-item-7906" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-7906"><a href="https://www.wpdigest.kr/category/plugin/other-plugin/">기타(plugin)</a></li>
</ul>
</li>
<li id="menu-item-3901" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-3901"><a href="https://www.wpdigest.kr/category/performance/">성능</a>
<ul class="sub-menu">
	<li id="menu-item-3904" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3904"><a href="https://www.wpdigest.kr/category/performance/cache/">Caching</a></li>
	<li id="menu-item-3905" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3905"><a href="https://www.wpdigest.kr/category/performance/cdn/">cdn</a></li>
	<li id="menu-item-3906" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3906"><a href="https://www.wpdigest.kr/category/tip/image-cdn/">image cdn</a></li>
	<li id="menu-item-7911" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-7911"><a href="https://www.wpdigest.kr/category/performance/other-performance/">기타(성능)</a></li>
</ul>
</li>
<li id="menu-item-3907" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-3907"><a href="https://www.wpdigest.kr/category/tip/">Tips</a>
<ul class="sub-menu">
	<li id="menu-item-3908" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3908"><a href="https://www.wpdigest.kr/category/tip/error-message/">오류메시지 해결</a></li>
	<li id="menu-item-3909" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3909"><a href="https://www.wpdigest.kr/category/web-log/">Web log</a></li>
	<li id="menu-item-3910" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3910"><a href="https://www.wpdigest.kr/category/blogger/">Google Blogger</a></li>
	<li id="menu-item-7909" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-7909"><a href="https://www.wpdigest.kr/category/debug/">debug</a></li>
	<li id="menu-item-7910" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-7910"><a href="https://www.wpdigest.kr/category/tip/other-tip/">기타(tip)</a></li>
</ul>
</li>
</ul></div>			</nav>
		</div>

		<div id="search-container" class="search-box-wrapper hide">
			<div class="search-box">
				<form role="search" method="get" class="search-form" action="https://www.wpdigest.kr/">
				<label>
					<span class="screen-reader-text">검색:</span>
					<input type="search" class="search-field" placeholder="검색 &hellip;" value="" name="s" />
				</label>
				<input type="submit" class="search-submit" value="검색" />
			</form>			</div>
		</div>
	</header><!-- #masthead -->

	<div id="main" class="site-main">

	<div id="primary" class="content-area">
		<div id="content" class="site-content" role="main">
			
<article id="post-4960" class="post-4960 post type-post status-publish format-standard has-post-thumbnail hentry category-comments-evolved category-plugin category-functional-classification-of-plugin category-commenting-system tag-disqus tag-facebook tag-google-chrome tag-gplus tag-livere tag-mozilla-firefox tag-pingback tag-plugin tag-trackback tag-web-browser tag-wordpress-org tag-install tag-wordpress1">
	 

	<header class="entry-header">
				<div class="entry-meta">
			<span class="cat-links"><a href="https://www.wpdigest.kr/category/plugin/comments-evolved/" rel="category tag">comments evolved</a>, <a href="https://www.wpdigest.kr/category/plugin/" rel="category tag">Plugin</a>, <a href="https://www.wpdigest.kr/category/functional-classification-of-plugin/" rel="category tag">PlugIn 기능별 분류</a>, <a href="https://www.wpdigest.kr/category/functional-classification-of-plugin/commenting-system/" rel="category tag">댓글 시스템</a></span>
		</div>
		<h1 class="entry-title">[연재] Comments Evolved plugin에서 댓글 수를 합산하는 방법(1)</h1>
		<div class="entry-meta">
			<span class="entry-date"><a href="https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/" rel="bookmark"><time class="entry-date" datetime="2014-03-31T20:46:44+09:00">2014년 3월 31일</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="https://www.wpdigest.kr/author/aesopc/" rel="author">Beginner</a></span></span>		    <span class="comments-link">
			 <a href="https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/#respond">댓글 남기기</a> 
            </span>
			<span class="facebook-tab">
			 <a href="https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/#comments-tab" title="FB Comments for [연재] Comments Evolved plugin에서 댓글 수를 합산하는 방법(1)">(과 <fb:comments-count href=https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/ ></fb:comments-count>개의 FB댓글)</a>			 </span>
	
					</div><!-- .entry-meta -->
	</header><!-- .entry-header -->

<!-- 	   -->

									<div class="entry-content">
						<div class="at-above-post addthis_tool" data-url="https://www.wpdigest.kr/2014/03/sp2-how-to-sumup-comments-counts-in-comments-evolved-plugin/"></div><script>if (typeof window.atnt !== 'undefined') { window.atnt(); }</script><script>if (typeof window.atnt !== 'undefined') { window.atnt(); }</script><p style="text-align: justify;">          Comments Evolved 플러그인은 여러 종류의 댓글을 동시에 적용할 수 있는 유용한 도구이지만 그 동안 댓글 수의 총합을 표시하는 방법을 알지 못했다.  <a href="https://www.wpdigest.kr/?p=3436">예전 글</a>에서  잠시 언급한 바 있었지만 나중에 테스트 한 결과는 전혀 달라서 오랫 동안 이 문제를 해결하기 위해 고심해왔다.  물론 wordpress.org의 plugin 사이트에서도 올바른 방법을 발견할 수 없었고 이것에 관해 누군가 질문을 올렸지만 지금까지도  답이 없는 상태이다.</p>
<p style="text-align: justify;">오늘 그 해결방법의 일부에 관해서 기록한다.<span id="more-4960"></span></p>
<p style="text-align: justify;">     gplus-comments/includes/lib/ 디렉토리에 있는 frontend.php 파일에서 21 line에 가면 댓글 수의 총합을 구하는 함수 식이 있다.</p>
<p>&nbsp;<br />
<?prettify linenums=true?></p>
<pre class="prettyprint">function comments_evolved_get_total_count() {
  $total_count = 0;
  $wordpress_count = comments_evolved_get_wordpress_count();
  //$wordpress_count = get_comments_number();
  $gplus_count = comments_evolved_get_gplus_count();
  $trackback_count = comments_evolved_get_trackback_count();
  $facebook_count = comments_evolved_get_facebook_count();
  $disqus_count = comments_evolved_get_disqus_count();
  $total_count = $total_count + $wordpress_count + $gplus_count + $trackback_count + $facebook_count + $disqus_count;
  return $total_count;
}
//add_filter('get_comments_number', 'comments_evolved_get_total_count', 4269);</pre>
<p style="text-align: justify;">     그 함수가 끝나는 지점에는 워드프레스 댓글 수를 가져오는 함수 ( get_ comments_ number )  대신에 앞에서 정의한 함수를 대체하라는 명령이 (  &#8216;//&#8217;  이런 코드로) 주석 처리된 것을 찾을 수 있다.  이 주석처리를 지우면 테마에서 댓글 수를 인식하는 모든 코드(get_comments_number)는 일단 위에서 정의된 함수로 대체된다. ( 문장 끝 부분의 숫자 &#8216;4269&#8217; 는 명령 수행 우선순위를 나타내는 것으로써 작을 수록 우선 순위가 높다.    너무 크면 접속 속도에 지장을 줄 수도 있으므로 오류가 나지않는 범위내에서 작게 줄여 주는 것이 좋을 것 같다. 서버의 상태에 따라서도 달라질 수 있으므로 나중에 라도 다시 이상이 있으면 변화를 주어 가면서 이상 유무를 확인해보는 것도 나쁘지 않을 것 같다.)</p>
<p style="text-align: justify;">다만  댓글의 종류에 따라서 다양한 반응이 나타난다.</p>
<p style="text-align: justify;">1)  facebook 댓글의 경우</p>
<p style="text-align: justify;">    암호화 통신( ssl) 을 지원하지 않으면  페이스북 댓글 수를 넘겨받는 함수가 활성화되지 않기 때문에 facebook 댓글 수는 합산되지 않는다. 이러한 내용은 브라우저의 debugging mode인 콘솔 탭에서도 명확하게 나타나지 않아서 chrome browser 의 경우에는 그림과 같이 &#8216;Uncaught TypeError: Cannot call method &#8216;handleServerJS&#8217; of undefined&#8217; 라고 표시되고 댓글과 관련된 어떤 명령이 문제가 있음을 알 수는 있지만 그 원인이 무엇인지는 명확하게 알 수 없었고&#8230;</p>
<figure id="attachment_4966" aria-describedby="caption-attachment-4966" style="width: 1371px" class="wp-caption aligncenter"><a href="https://res.cloudinary.com/wpdigest-kr/images/w_90,r_max/f_auto,q_auto/v1396324428/comments-evolved-fb-comments-number-debugging-chrom-browser_y0chrx/comments-evolved-fb-comments-number-debugging-chrom-browser_y0chrx.png?_i=AA"><img width="1371" height="169" fetchpriority="high" decoding="async" class="size-full wp-post-4960 wp-image-4966 lazy" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201371%20169'%3E%3C/svg%3E" data-src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMzcxIiBoZWlnaHQ9IjE2OSI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iZmlsbCIgdmFsdWVzPSJyZ2JhKDE1MywxNTMsMTUzLDAuNSk7cmdiYSgxNTMsMTUzLDE1MywwLjEpO3JnYmEoMTUzLDE1MywxNTMsMC41KSIgZHVyPSIycyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIC8+PC9yZWN0Pjwvc3ZnPg==" alt="comments-evolved-fb-comments-number-debugging-chrom-browser" data-public-id="comments-evolved-fb-comments-number-debugging-chrom-browser_y0chrx/comments-evolved-fb-comments-number-debugging-chrom-browser_y0chrx.png" data-format="png" data-transformations="w_90,r_max/f_auto,q_auto" data-version="1396324428" data-seo="1" data-responsive="1" data-size="1371 169" data-delivery="upload" onload=";window.CLDBind?CLDBind(this):null;" data-cloudinary="lazy" /></a><figcaption id="caption-attachment-4966" class="wp-caption-text">comments-evolved-fb-comments-number-debugging-chrom-browser</figcaption></figure>
<p>Firefox browser 의 경우에는 특별히 어떤 부분인지는 지목되지 않은 상태에서 암호화 통신이 지원되지 않는 이유때문에  어떤 명령이 활성화 되지 않는다는 것 만을 알 수 있었다.</p>
<figure id="attachment_4965" aria-describedby="caption-attachment-4965" style="width: 1016px" class="wp-caption aligncenter"><a href="https://res.cloudinary.com/wpdigest-kr/images/w_90,r_max/f_auto,q_auto/v1396324430/comments-evolved-fb-comments-number-warning_yrlluy/comments-evolved-fb-comments-number-warning_yrlluy.png?_i=AA"><img width="1016" height="170" decoding="async" class="size-full wp-post-4960 wp-image-4965 lazy" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201016%20170'%3E%3C/svg%3E" data-src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDE2IiBoZWlnaHQ9IjE3MCI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iZmlsbCIgdmFsdWVzPSJyZ2JhKDE1MywxNTMsMTUzLDAuNSk7cmdiYSgxNTMsMTUzLDE1MywwLjEpO3JnYmEoMTUzLDE1MywxNTMsMC41KSIgZHVyPSIycyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIC8+PC9yZWN0Pjwvc3ZnPg==" alt="comments-evolved-fb-comments-number-warning" data-public-id="comments-evolved-fb-comments-number-warning_yrlluy/comments-evolved-fb-comments-number-warning_yrlluy.png" data-format="png" data-transformations="w_90,r_max/f_auto,q_auto" data-version="1396324430" data-seo="1" data-responsive="1" data-size="1016 170" data-delivery="upload" onload=";window.CLDBind?CLDBind(this):null;" data-cloudinary="lazy" /></a><figcaption id="caption-attachment-4965" class="wp-caption-text">comments-evolved-fb-comments-number-warning</figcaption></figure>
<p style="text-align: justify;">이 두 가지로부터 추론하여 ssl을 지원하지 않는 것이 어떤 문제를 발생 시킬수도있다는 혹시나하는 마음에 ssl을 지원하는 서버에 comments evolved 플러그인을 설치했더니 facebook 댓글 수가  전체 댓글 수로 합산되는 것을 확인할 수 있었다. ( 그 동안 이것 때문에 여러 날을 테스트했는데&#8230; 결국 여기서 해결책을 찾게 되다니&#8230;.)</p>
<p style="text-align: justify;">    구글링해보면 facebook댓글 수를 특정 변수로 넘겨받는 방법은 여러가지가 있지만 결국 모든 방법에서 암호화가 지원되지 않으면 모든 방법이 무용지물이 되고 마는 것이었다.   하지만 아직 한 가지 희망은 남아있다.  &#8216;echo&#8217; 명령으로 화면에 총 댓글 수를 표시 해주는 기능은 ssl통인이 지원되지않는 서버에서도 유용하다,  <del>이것을 어떤 방법으로든지 변형하면 변수에 값을 가져올수 있지않을까? 나중에 한번 변형을 시도해 볼 가치가 있다. </del>(여기에 관해서는 다음글에 연재로 쓴다. )<del><br />
</del></p>
<p>2) disqus 와 wordpress 댓글의 중복 합산</p>
<p style="text-align: justify;">      disqus  댓글은 기본적으로  wordpress 댓글과  동기화하는 것이 기본 옵션으로 설정되어있다.  따라서  이 옵션을  그대로 살려 둔다면 qisqus 나 워드프레스 댓글 중 어느 한 가지의 댓글은  댓글 수 합산식에서 삭제해 주어야 한다.</p>
<p>&nbsp;</p>
<p>[!!!  중 요 !!!]</p>
<p>disqus 댓글이 존재하면 최종적으로  총 댓글 수 합산식이 유용하지 않고 disqus 댓글 수로 대체된다.  <strong> 논리적으로는 disqus.php 파일에 있는</strong><br />
<?prettify linenums=true?></p>
<pre class="prettyprint"> add_filter('get_comments_number', 'dsq_comments_number');</pre>
<p style="text-align: justify;"><strong>  </strong>명령만을  주석 처리하면 디스커스 댓글 수로 바뀌지 말아야 한다고 생각했는데 &#8230;  그렇게 되지 않는다.   그 위치에 있는 모든 add_filter 명령을  주석처리하면 일단 디스커스 댓글 수로 변하지 않는다.  좀 더 테스트해봐야할 사항이다.<strong><br />
</strong></p>
<p>&nbsp;</p>
<p>3) gplus 댓글</p>
<p>gplus 댓글은  이 경우에도  댓글수에 합산되지 않는데 아직 그 원인을 정확히 확인하지는 못했지만 이것은  <a href="http://plus.google.com/authorship" rel="nofollow">Google Authorship</a> 등록여부와 관련이 있는것으로 추정된다.  처음 플러그인을 설치할 때 댓글이 작동하는것으로 생각하여 주의깊게 살펴보지 않았는데 플러그인 개발자는</p>
<ul>
<li>You should have <a href="http://plus.google.com/authorship" rel="nofollow">Google Authorship</a>  already setup and in use for your site.</li>
</ul>
<p>이렇게 명확하게 밝히고 있다. 나중에 다시 테스트해 볼 계획이다.</p>
<p>&nbsp;</p>
<p>4) wordpress pingback</p>
<p>이것은 명확한 댓글로 분류되고 있지