Title: Custom Post Type &#8211; Attachment
Last modified: August 19, 2016

---

# Custom Post Type – Attachment

 *  [Brenderous](https://wordpress.org/support/users/brenderous/)
 * (@brenderous)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-attachment/)
 * On this page [http://codex.wordpress.org/Custom_Post_Types](http://codex.wordpress.org/Custom_Post_Types)
   is describes a custom post type called an “Attachment” and is described as “a
   special post that holds information about files uploaded through the Media upload
   system. They hold all the description and name and other information about uploaded
   files.”
 * How do I make one of these? Or is it just a normal post with media added to it?
   What I want is the ability to upload a file and have the file itself be the post
   content, and add meta or other stuff if I want. (ie. podcast).

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-attachment/#post-1542499)
 * An attachment is an image, document or other media type that you’ve uploaded 
   to your site via the Add Media options.
 *  Thread Starter [Brenderous](https://wordpress.org/support/users/brenderous/)
 * (@brenderous)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-attachment/#post-1542501)
 * What you say, and what the Custom Post Types page says, don’t seem to match up.
 * But I’m more inclined to agree with you. I don’t see any way to have media-based
   custom post.
 *  Thread Starter [Brenderous](https://wordpress.org/support/users/brenderous/)
 * (@brenderous)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-attachment/#post-1542510)
 * Ok here’s a better question.
 * Is there a list of the parameters you can put in the “supports” array for the“
   register_post_type” function.
 * For example:
 * ‘supports’ => array(‘title’, ‘editor’, ‘author’, ‘thumbnail’, ‘audio’, ‘video’,‘
   pdf’)
 * EDIT: ah, here it is: [http://codex.wordpress.org/Function_Reference/register_post_type](http://codex.wordpress.org/Function_Reference/register_post_type)
 * Still not what I’m looking for, though:(
 *  [aoberoi](https://wordpress.org/support/users/aoberoi/)
 * (@aoberoi)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-attachment/#post-1543081)
 * I have a related question.
 * I am interested in making a custom post type that i feel mostly is based off 
   an ‘attachment’ as opposed to a post. So I would like to include the capabilities
   of an ‘attachment’ as a base and then be able to add a taxonomy to extend the
   type.
 * I would then like to use a Page to display a list of all of these custom posts
   divided by that taxonomy.
 * The documentation leads me to believe that this can be done by setting ‘capability-
   type’ to ‘attachment’ when it says that it uses this argument to construct capabilities.
 * [Documentation](http://codex.wordpress.org/Function_Reference/register_post_type)
 *     ```
       capability_type
       (string) (optional) The post type to use for checking read, edit, and delete capabilities.
       Default: "post"
       By default the capability_type is used to construct capabilities.
       ```
   
 * Does anyone know if this is possible?
 * Also, how would it show up in the Admin UI?

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

The topic ‘Custom Post Type – Attachment’ is closed to new replies.

## Tags

 * [3.0](https://wordpress.org/support/topic-tag/3-0/)
 * [attachment](https://wordpress.org/support/topic-tag/attachment/)
 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [aoberoi](https://wordpress.org/support/users/aoberoi/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-attachment/#post-1543081)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
