<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Is there a core setting to globally
disable comments on all pages (not posts)?<br>
<div class="moz-signature">
<div style="color:black"><br>
</div>
</div>
On 4/20/2014 9:25 PM, Chip Bennett wrote:<br>
</div>
<blockquote
cite="mid:CAPdLKqetj=7rrCdorcZZsSOmXE8bAGuTc0EraQgxQ+qsVZk9eQ@mail.gmail.com"
type="cite">
<div dir="ltr">See the <a moz-do-not-send="true"
href="http://codex.wordpress.org/Function_Reference/comments_open">comments_open()</a>
conditional, and <a moz-do-not-send="true"
href="http://codex.wordpress.org/Template_Tags/get_comments_number">get_comments_number()</a>,
which you can use together, e.g. like so:
<div>
<br>
</div>
<div>if ( comments_open() || 0 != get_comments_number() ) {
comments_template(); }</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sat, Apr 19, 2014 at 11:54 PM,
carolina poena <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:myazalea@hotmail.com" target="_blank">myazalea@hotmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr">Disabling comments is plugin territory, but
what about an option to simply hide the comments? This
would be allowed, correct?<br>
</div>
</div>
<br>
_______________________________________________<br>
theme-reviewers mailing list<br>
<a moz-do-not-send="true"
href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a moz-do-not-send="true"
href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers"
target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
theme-reviewers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a>
<a class="moz-txt-link-freetext" href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a>
</pre>
</blockquote>
<br>
</body>
</html>