I am pulling in thousands of pictures per day into Pages on my blog. Each Page is a template that when called, will check a custom DB for pictures and display them as thumbnails. When a person clicks on one of these thumbnails I would like them to be directed to a post where they can make comments over that one picture. I would like these comments to be stored in the wordpress DB and show up in the admin panel so I can review them.
So, what I think needs to happen is, I need to make a post for each image that I pull in. I have only made posts with wp-admin and never programaticly. Is there something simple I can do such as...
<?php add_post('title','permlink', 'post_text', 'date, 'tags'); ?>
Or do you have another suggestion on how I should go about this?