Reusing comment infrastructure
-
I’ve been looking around at various image gallery plugins, and haven’t quite found one that meets my needs, so I’m thinking about writing one. Ideally, this plugin would allow users to comment on individual images, and possibly albums, as well, and I’m wondering if there’s any way to reuse WP’s existing comment infrastructure to allow comments on non-post items. This would be really nice, and save a ton of work, as WP already has templates, etc., for comments, as well as built-in support for moderation, etc., not to mention the fact that maintaining visual consistency would be much easier if all of the comments on the site were powered by the same code. Writing new code for comment handling or copying and pasting from the WP source wouldn’t be the end of the world, but if anyone knows anything about this, I’d appreciate the input.
Andrew
- The topic ‘Reusing comment infrastructure’ is closed to new replies.