• Hello,

    I am facing a weird problem. Everytime I am posting a new post in my different custom post type the comments are automatically closed. I googled and found a partial solution which is to make a SQL request to switch on the comment status on all of my custom post type posts.

    This is not what I’d like to get, I would like to be able to have them automatically on… I don’t understand why it doesnt work. Normal posts can get the comments template. I switched everything on in the options.

    Any solutions please? :/

    Here is a link : http://chaisjeanpat.com/spiritueux/woodford

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • J M

    (@hiphopinenglish)

    When you registered your CPT, did you include comments in the supports array?

    Register CPT – > Scroll to supports

    Thread Starter CroiSciento

    (@croisciento)

    Yes, the “comment” checkbox is also checked on the edit page.

    J M

    (@hiphopinenglish)

    OK, is your CPT template definitely calling comments?

    Thread Starter CroiSciento

    (@croisciento)

    What do you mean by calling comments? The comment template is located in the footer and only called on my CPT single pages. I tried to put the comment template somewhere else (like near the content of my post), it doesnt work as well.

    J M

    (@hiphopinenglish)

    I meant, is there a call to comments_template(); in your CPT template, but it sounds like there is.

    Just to rule out anything foolish, have a look at the settings on Settings -> Discussion.

    Thread Starter CroiSciento

    (@croisciento)

    Yup there is one. And everything is correctly set up in Settings -> Discussion.

    J M

    (@hiphopinenglish)

    Hmmmm… currently out of ideas here. I’ll mull it over and hopefully get back to you.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Custom post type comments automatically closed.’ is closed to new replies.