Hello,
I am just wondering how I would be able to tell if comments are enabled or disabled for a blog in php?
Thanks
Hello,
I am just wondering how I would be able to tell if comments are enabled or disabled for a blog in php?
Thanks
overall, or per post?
comments_open();
checks within the loop.....
both methods would be nice
Well that works as intended and looks like its not needed to see if it's shut off for the site overall. The above will just turn it off for each individual post when it is turned off site wide.
Thanks
Sure, glad to help!!
This topic has been closed to new replies.