Title: commenting without a post?
Last modified: August 19, 2016

---

# commenting without a post?

 *  Resolved [deadceasar](https://wordpress.org/support/users/deadceasar/)
 * (@deadceasar)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/)
 * ok, i’ve read through many entries with the same problem (almost) and can’t say
   that mine directly relates. i’ve built a gallery of artwork on my blog and would
   like to add the comments template to get feedback, but submitting a comment takes
   you to that dreaded blank comments-post.php page. comments work perfectly well
   on any other page that has actual posts, so my question is: can you comment without
   a post?

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674031)
 * _can you comment without a post?_
    Not really.
 *  [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674034)
 * deadceasar,
 * Hi. My blog is set up the same way as yours and I have the comments working for
   attachments. I did this by adding `<?php comments_template(); ?>` to my theme’s‘
   attachment.php’ template file. Most theme’s actually do not come with this file,
   but I would say that it is a necessary part of any blog who uses the image uploading
   capability of WordPress.
 * The reason that this works is that (in the wordpress database) posts, pages and
   attachments are all stored in the same table. I believe that you can add comments
   to all of them.
 * Check it out here: [mfields.org](http://mfields.org/art/pieces/nelly-the-elephant/)
 *  Thread Starter [deadceasar](https://wordpress.org/support/users/deadceasar/)
 * (@deadceasar)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674035)
 * come on, moshu! there’s got to be a way. do you suppose that scripting a different
   template php would work? not that i would be able to do such a task with my current
   understanding of the language.
 *  Thread Starter [deadceasar](https://wordpress.org/support/users/deadceasar/)
 * (@deadceasar)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674038)
 * mfields,
 * i’ll look into the attachment method. i noticed previous themes that i’ve used
   had that file, but i’ve customized my current theme from top to bottom and no
   longer have it. thanks for the reply!
 * nice imagination you have there!
 *  Thread Starter [deadceasar](https://wordpress.org/support/users/deadceasar/)
 * (@deadceasar)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674045)
 * ummm, unless i’m misunderstanding the attachment.php, this is solely for inserting
   images from the Write admin panel. no? My gallery isn’t set up that way. All 
   images are hard-coded with -a hrefs- (and some serious hover and span action 
   also).
 * click on a panel and check out the source:
    [http://mcgrewsmusings.com/?page_id=180](http://mcgrewsmusings.com/?page_id=180)
 * sorry if i’m just ignorant.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674049)
 * ?page_id=180
 * That means that is [Page](http://codex.wordpress.org/Pages). Pages also can be
   commented – just have the call for the comments template.
 *  Thread Starter [deadceasar](https://wordpress.org/support/users/deadceasar/)
 * (@deadceasar)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674052)
 * moshu,
 * i did that and it led me to this investigation. i thought i had previously made
   it known this was a page and not a post. sorry for the confusion. anyway, i temporarily
   put the call back into this page so you can maybe better understand. who knows,
   maybe it will work for you, but it sure a hell ain’t workin’ for me.
 * [http://mcgrewsmusings.com/?page_id=190](http://mcgrewsmusings.com/?page_id=190)
 * edit– i’m assuming all i need is the single call for the template, yes?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674055)
 * You call it in the wrong place.
    It has to be done in the Loop. Look at other
   themes where it is.
 *  Thread Starter [deadceasar](https://wordpress.org/support/users/deadceasar/)
 * (@deadceasar)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674062)
 * sorry moshu, that doesn’t help me much. reading up on The Loop speaks only about
   calling posts, which i don’t have any. could you possibly point out where my ‘
   Loop’ is in the page provided?
 * what you said was the wrong place is exactly where i put it in my single post.
   php (which works). i just don’t get it, man.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674064)
 * Paste your Page template file to [http://wordpress.pastebin.ca](http://wordpress.pastebin.ca)
   and post back with the url.
 *  Thread Starter [deadceasar](https://wordpress.org/support/users/deadceasar/)
 * (@deadceasar)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674065)
 * link’s busted. i can’t get in. i’ll have to work up a new page template to get
   the code to you, unless you have an alternate route.
 *  Thread Starter [deadceasar](https://wordpress.org/support/users/deadceasar/)
 * (@deadceasar)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674066)
 * nevermind. this is more trouble than it’s worth.
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674068)
 * Wow, you give up easy.
 * Try posting the source of your template here:
 * [http://wordpress.pastebin.com/](http://wordpress.pastebin.com/)
 * or if that is down too:
 * [http://paste.uni.cc/](http://paste.uni.cc/)
 * (Note to watchers: we really need our own pastebin…)
 *  Thread Starter [deadceasar](https://wordpress.org/support/users/deadceasar/)
 * (@deadceasar)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674070)
 * it’s not that i’m giving up, but rather it’s getting late here and i have an 
   early start in the morning. anyway, here are the links you’ll need.
 * thanks for all your help, by the way.
 * Misc gallery.php
    [http://paste.uni.cc/17960](http://paste.uni.cc/17960)
 * Single Post.php
    [http://paste.uni.cc/17961](http://paste.uni.cc/17961)
 * Blog
    [http://mcgrewsmusings.com/](http://mcgrewsmusings.com/)
 * –edit– scratch that, i forgot i took the template out of the gallery. here’s 
   the revision:
    [http://paste.uni.cc/17962](http://paste.uni.cc/17962)
 *  Thread Starter [deadceasar](https://wordpress.org/support/users/deadceasar/)
 * (@deadceasar)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674167)
 * fyi, i went back over the Loop business and understand it much more now. all 
   i needed in my page was the essential parts (the if an the while); deleting everything
   else (post title, date, content, tags, etc).
 * thanks for the spotlight, moshu.
    and the links, k-man.

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

The topic ‘commenting without a post?’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [popup](https://wordpress.org/support/topic-tag/popup/)

 * 15 replies
 * 4 participants
 * Last reply from: [deadceasar](https://wordpress.org/support/users/deadceasar/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/commenting-without-a-post/#post-674167)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
