[wp-hackers] Using a custom post_type in the wp_posts table
otto at ottodestruct.com
Mon Jun 4 20:38:12 GMT 2007
There's nothing stopping you, but I would suggest using "attachment"
instead. That would be compatible with the existing uploads and
attachment functionality and such.
On 6/3/07, R.J. Kaplan <just.be.happy at gmail.com> wrote:
> I'm writing a plugin for managing photo albums. Right now, the plugin
> creates a table for the photos, but I was wondering, what would
> happen if I stored the posts in the wp-posts table? I'd set the
> post_type to something like 'photo'. would it mess things up in
> future versions of WordPress?
> The main benefit of doing this would be the ability to use the
> wordpress comments system for the photos.
> Any input from people who understand the WordPress core would be
> really helpful.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers