[theme-reviewers] disabling or hiding comments

Hence Wijaya hence.wijaya at gmail.com
Mon Apr 21 01:32:28 UTC 2014


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 
> <mailto: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
>     <mailto:theme-reviewers at lists.wordpress.org>
>     http://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/180e1d2b/attachment.html>


More information about the theme-reviewers mailing list