After WordPress 2.5 uploading files to posts has become much easier. When first looking into this I was confused though because I every time I would upload a file it would not automatically link to the file. I was assuming the file did not upload properly and that was the reason there was no file to link to. I was mistaken though and really uploading a file is exactly like uploading an image but you have to select where the file links to. Follow the simple directions below to upload files to a WordPress post on your WP blog. The directions below are based on WordPress 2.7+ however they are very similar to WordPress 2.5/2.6.
- Open WordPress Admin: Obviously the first thing you need to do is login to the WP administration area of your blog which is typically found at your URL followed by /wp-admin.
- Add or Edit a Post: Now you want to add or edit a post by clicking “Add New” or “Edit” located under the Posts section of the left nav menu as shown below.
- Click Add Media: First make sure to put the cursow in the post window where you want to add the file link. Then click the “Add Media” button located in the top left above the post window. The “Add Media” button is located to the right of Upload/Insert directly above the editor bar.
- Upload File: Now you will upload the actual file that will be inserted into the post by clicking the “Select Files” button which is shown below and then locating the files on your PC that you want to upload.
Once the file is uploaded it will be visible in the interface as shown below. It still needs to be inserted into the post.
- Insert File Into Post: Now that the file is uploaded you need to insert the file into the post. Click the Show link next to the file you want to insert which will display details of the file as shown below.
Before actually inserting the file into the post you need to click the “File URL” button to insert the link to the file as shown below.
After this you can click the “Insert into Post” button and the file will be inserted into the post.
Again this is for WordPress 2.5 and above. I recommend that if you are not using WordPress 2.7 that you actually upgrade to gain access to all of the new features.