• I am running into a problem with comments for attachments.

    When I create a new post and upload attachments using the media upload button on the new post page then include the images using the gallery, and show attachments as page, the comments for the attachments page is showing closed even though I have enabled comments for the post in which the gallery is included.

    I believe it started happening since I upgraded from 2.7 to 2.7.1 as far as I can tell since my post with attachments before the upgrade are showing the comments form fine.

    I went into the database and see that comment_status is showing ‘closed’ for the attachments but showing open for the post.

    Anyone have any suggestions or ideas why this might be happening?

    I thought if comments are enabled for the post, and images are shown as a page, comments for the attachments is enabled.

    Thank you in advance for any help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Does your theme include an attachments.php or image.php file?

    Thread Starter frank678

    (@frank678)

    yes the theme has an attachment.php file.

    I don’t think it’s related to the theme because on post with attachments i made prior to 2.7.1 still shows the comment form for the attachment page. It’s just the ones I have made recently.

    It seems like comment_status field in the db is not inheriting the post comment_status even though it is showing inherit.

    I’ve tried it with different themes..with disabling plugins..and still all the attachment pages are showing as “comments closed” even though the post page is showing the comment form.

    Is your theme 2.7 compatible? Some of the changes introduced by 2.7 on the public side of blogs centred on comment display.

    http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7

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

The topic ‘Comments for attachments showing closed’ is closed to new replies.