Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

User:Priceofsalt/Uploading Files

This article is a ROUGH DRAFT. The author is still working on this document, so please do not edit this without the author's permission. The content within this article may not yet be verified or valid. This information is subject to change.
 

Uploading Files

After you login to WordPress and click on your Dashboard, you can upload files.

With WordPress, you have the following options:
  • You can upload files immediately in a post.
  • You can upload files immediately in a page.
  • You can upload files to your Media Library and store them for later use.
WordPress supports the following file types:
  • jpg
  • jpeg
  • png
  • gif
  • pdf
  • doc
  • ppt
  • odt
  • pptx
  • docx
  • pps
  • ppsx
  • xls
  • xlsx

To Upload a File for Later Use

  1. On the Dashboard menu, click Media and then click Add New to display the "Upload New Media" page.
  2. Click the Select Files button to open a dialog box.
  3. In the dialog box, select the file you want to upload.
    To select multiple files, hold down the SHIFT key (for PC users) or the COMMAND key (for Macintosh users).
  4. Click the Open button.
  5. When the upload is complete, a field with your file details appears. Below the field, click Save all changes.

Note: If the file does not open, then the file type is not supported, the chosen format may not match the file’s true format or the file may be damaged.

To Upload a File in a Post

  1. On the Dashboard menu, click Posts and then click Add New to view the "Add New Post" page.
  2. On the Upload/Insert menu, click the icon that represents the type of file you want to upload. addnewpage.png
    The "Add media files from your computer" window appears.
  3. Click the Select Files button.
  4. In the dialog box, select the file you want to upload.
    To select multiple files, hold down the SHIFT key (for PC users) or the COMMAND key (for Macintosh users).
  5. Click Open.
  6. When your file uploads, a field appears. At the bottom of the field click Insert into Post.

Note: If you are having problems uploading files with the default Flash uploader, you may want to use the Browser Uploader instead.

To Upload a File in a Page

  1. On the Dashboard menu, click Pages, and then click Add New to display the "Add New Page" page.
  2. On the Upload/Insert menu, select the icon that represents the type of file you want to upload. addnewpage.png
    The "Add media files from your computer" window appears.
  3. Click on the Select Files button to open a dialog box.
  4. In the dialog box, select the file you want to upload.
    To select multiple files, hold down the SHIFT key (for PC users) or the COMMAND key (for Macintosh users).
  5. Click the Open button.
  6. When the upload is complete, a field with your file appears. At the bottom of the field, click the Insert into Post button.

To Upload a File with the Browser Uploader

  1. To upload a file for later use: on the Dashboard menu, click Media, and then click Add New to display the "Upload New Media" page.
    -Or-
    To upload a file in a page: on the Dashboard menu, click Pages, click Add New to display "Add New Page," and then, on the Upload/Insert menu, click the icon that represents the type of file you want to upload.
    -Or-
    To upload a file in a post: on the Dashboard menu, click Posts, click Add New to view the "Add New Post" page, and then, on the Upload/Insert menu, click the icon that represents the type of file you want to upload.
  2. Below the Select Files button, click the link to “Browser uploader."
  3. browseruploader2.png
  4. When the Browser uploader appears, click the Choose File button to display a dialog box.
  5. In the dialog box, select the file you want to upload.
    To select multiple files, hold down the SHIFT key (for PC users) or the COMMAND key (for Macintosh users).
  6. Click the Upload button.

Resources

Using Images
Using Image and File Attachments
Inserting Images into Posts and Pages
Media Library Screen

See Also

Changing File Permissions
Dashboard Screen