Title: Exporting attachments
Last modified: August 24, 2016

---

# Exporting attachments

 *  Resolved [whoaloic](https://wordpress.org/support/users/whoaloic/)
 * (@whoaloic)
 * [11 years ago](https://wordpress.org/support/topic/exporting-attachments/)
 * Hello,
    I was wondering it would be possible to export attachments post type?
   Cheers.
 * [https://wordpress.org/plugins/wp-csv/](https://wordpress.org/plugins/wp-csv/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [CPK Web Solutions](https://wordpress.org/support/users/cpkwebsolutions/)
 * (@cpkwebsolutions)
 * [11 years ago](https://wordpress.org/support/topic/exporting-attachments/#post-6124634)
 * Hi whoaloic
 * Yes, it would be pretty easy to add that in. My concern, and reason for not doing
   so already, is that many users would not understand why adding an attachment 
   post type does not create a usable attachment.
 * Best wishes
 * Paul
 *  Thread Starter [whoaloic](https://wordpress.org/support/users/whoaloic/)
 * (@whoaloic)
 * [11 years ago](https://wordpress.org/support/topic/exporting-attachments/#post-6124752)
 * Yes I understand!
    I asked you that because in other post type, i get a gallery
   shortcode in post_content and I need to know the ID of the attachements.
 * Best wishes.
 *  Plugin Author [CPK Web Solutions](https://wordpress.org/support/users/cpkwebsolutions/)
 * (@cpkwebsolutions)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/exporting-attachments/#post-6124778)
 * Hi Whoaloic
 * There is a new option in version 1.7.5 that should allow you to export attachment
   post types.
 * Best wishes
 * Paul
 *  Thread Starter [whoaloic](https://wordpress.org/support/users/whoaloic/)
 * (@whoaloic)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/exporting-attachments/#post-6124784)
 * Thank you for your work Paul 🙂
    Does 1.7.6 version is OK? I read other topics
   saying that plugin deletes data!?
 * Best wishes.
 *  Plugin Author [CPK Web Solutions](https://wordpress.org/support/users/cpkwebsolutions/)
 * (@cpkwebsolutions)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/exporting-attachments/#post-6124785)
 * Hi whoaloic
 * I haven’t been able to find any delete bug and the user who reported it hasn’t
   yet replied with more details about exactly what happened. I will update all 
   users once I’ve confirmed the problem.
 * Best wishes
 * Paul
 *  Thread Starter [whoaloic](https://wordpress.org/support/users/whoaloic/)
 * (@whoaloic)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/exporting-attachments/#post-6124796)
 * Hi I’ve just tested 1.7.6 version and I see no bugs.
 * But in the column “wp_post_type”, I don’t see “attachment”.
 * The idea would be to export posts from wp_posts where post_type = ‘attachment’.
   
   Because I need to know the ID of these attachment posts to put theses IDs in 
   the default wordpress shortcodes for galleries.
 * Best wishes.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Exporting attachments’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-csv.svg)
 * [WP CSV](https://wordpress.org/plugins/wp-csv/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-csv/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-csv/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-csv/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-csv/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-csv/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [whoaloic](https://wordpress.org/support/users/whoaloic/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/exporting-attachments/#post-6124796)
 * Status: resolved