• I have tried a few things and am having trouble removing comments from all pages. Somehow, I have one page that has comments and not the other. They also do not show up on the static page. Here is an example one page with comments is still open: https://wiki.glutenfreerecipebox.com/guidelines/.

    There is no option on the individual pages in the admin panel to close comments in Twenty Fourteen, at least not on mine.

    Any help would be appreciated.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,
    you can add this to your Custom CSS plugin:

    .page .comments-area{
        display:none;
    }
    Thread Starter glutenfreerecipebox

    (@glutenfreerecipebox)

    Thanks so much, kaniamea! I couldn’t remember which file to add it to. So, thanks for including that!

    Adding .page .comments-area{display:none;} is having no effect for me.

    Edit: I found one way to do it, at least. Since editing every page and setting it to no comments was not really an option, I went directly into the database to turn them all off. In the wordpress database, the query is:

    UPDATE wp_posts SET comment_status = 'closed'

    I wanted to add that there is one small downside to setting them all in the database like that: there is still a page divider above where comments would be, which is visible and looks odd when viewing on a mobile device. I’m looking into how to remove that; any tips are appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Twenty Fourteen Theme Remove Comments Only on Pages’ is closed to new replies.