Got per-picture comments working!

After a few days of pulling my hair out trying to find the hooks I needed in WordPress, I’ve got the per-picture commenting working now. Take a look at my example gallery, see how it works, try it out, and let me know what you think. I’m not quite ready to release the code just yet, since I need to do some more testing. If you’re interested in trying out my changes and being a “beta tester” (not that any of my users HAVEN’T been beta testers yet :), leave a comment here.

As it turns out, there’s no pure plugin solution to the comment filtering problem in my previous entry, so I had to add a single line to my comments template. It’s pretty easy to do though. I’ve put in an enhancement request to WordPress to include a hook so the template change wouldn’t be needed.

Oh yeah, if you leave a comment in my gallery, keep in mind that I’m moderating all comments, so if you haven’t commented here before don’t be surprised if you don’t see your comment right away…

Comments are closed.