[theme-reviewers] disabling or hiding comments

Chip Bennett chip at chipbennett.net
Mon Apr 21 13:34:24 UTC 2014


Thanks, Devin, for linking the ticket. I was going to dig it up but you
found it first!


On Sun, Apr 20, 2014 at 9:32 PM, Hence Wijaya <hence.wijaya at gmail.com>wrote:

>  Is there a core setting to globally disable comments on all pages (not
> posts)?
>
>
>  On 4/20/2014 9:25 PM, Chip Bennett wrote:
>
> See the comments_open()<http://codex.wordpress.org/Function_Reference/comments_open>conditional, and
> get_comments_number()<http://codex.wordpress.org/Template_Tags/get_comments_number>,
> which you can use together, e.g. like so:
>
>  if ( comments_open() || 0 != get_comments_number() ) {
> comments_template(); }
>
>
> On Sat, Apr 19, 2014 at 11:54 PM, carolina poena <myazalea at hotmail.com>wrote:
>
>>  Disabling comments is plugin territory, but what about an option to
>> simply hide the comments? This would be allowed, correct?
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
>
> _______________________________________________
> theme-reviewers mailing listtheme-reviewers at lists.wordpress.orghttp://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140421/3b608612/attachment.html>


More information about the theme-reviewers mailing list