Comments on new custom post types only (3 posts)

  1. cubehouse
    Posted 6 years ago #

    This has had me scratching my head for the last day or so.

    On my website, I have a custom post type (a location) and I wanted to add user reviews to these posts.

    So, I thought I'd simply enable comments by adding "comments" into the array of enabled features for my custom post type.
    But, only new posts I create after enabling comments have the comments enabled.
    I've gone into some of the old posts, manually ticked the "comments enabled" boxes, but they still don't show.
    I even modified the template briefly to show the comment box anyway, but when submitting, WordPress gives me a big "comments are not enabled" message.
    I've gone into the postmeta tables and had a look at the data, the comment_status field is clearly set to "open".

    Anyone got any idea why this is happening?

  2. cubehouse
    Posted 6 years ago #

    Sorry to bump/reply to my own topic.

    I've gone into quick-edit and manually adjusted the publish date to today for my old posts - and now the comments work.

    Is this what WordPress is meant to be doing? It seems very odd.

  3. cubehouse
    Posted 6 years ago #

    Scrap all that - it only makes the comment box appear, then it tells me that comments are closed upon actually submitting.

Topic Closed

This topic has been closed to new replies.

About this Topic