Title: Automatically Create Attachments?
Last modified: August 19, 2016

---

# Automatically Create Attachments?

 *  [Tom Belknap](https://wordpress.org/support/users/dragonflyeye/)
 * (@dragonflyeye)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/automatically-create-attachments/)
 * OK, here’s an interesting one. . .
 * I’m creating a website for a band that already has a ton of music, video and 
   picture media that they want to keep. The most obvious answer seemed to be to
   put these files into the uploads folder and then write a little batch file to
   create attachments so that they’re available in the Write Post/Page screens for
   them.
 * However, this seems easier said than done. Creating a post doesn’t seem to be
   as simple as creating a user in WordPress. There doesn’t seem to be a simple “
   create_post()” function I can use to iterate through my media.
 * Anyone know of an already-created plugin that would do the job? Or, do you know
   of the right function to use?
 * Thanks.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Tom Belknap](https://wordpress.org/support/users/dragonflyeye/)
 * (@dragonflyeye)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/automatically-create-attachments/#post-839716)
 * A li’l bump.
 * Can anyone help me out, here?

Viewing 1 replies (of 1 total)

The topic ‘Automatically Create Attachments?’ is closed to new replies.

## Tags

 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * 1 reply
 * 1 participant
 * Last reply from: [Tom Belknap](https://wordpress.org/support/users/dragonflyeye/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/automatically-create-attachments/#post-839716)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
