The procedure for inserting any other type of file into your Page or Post is exactly the same as Inserting an Image:
- Simply click the Add Media button.
- Once the relevant popup window displays, perform the same steps to upload your file to your site and to insert it into your Page or Post.
It’s recommended that you make your filename ‘server friendly’. Make sure the filename has no spaces, apostrophes, slashes or other non-alphanumeric characters (such as $, % and &). Rename the file before uploading if it does. To preserve readability, some people replace spaces with the underline character or hyphen. For instance, My File Name.txt becomes My_File_Name.txt or My-File-Name.txt
Embedding a Video, Image or Other Content
Another way to add video or other content into your pages is through embedding. A popular example of this is embedding a YouTube video into your page.
When you are embedding a file:
- There is no need to upload the file to your site.
- You are basically just creating a link to the file, from within your own page.
If you would like to specify the width and height, you can wrap the URL in the [embed] shortcode. Embedding your link using this shortcode does not require the URL to be on its own line. The format for using the shortcode is: [embed width= “123” height= “456”] url [/embed]
WordPress will automatically embed content from the following sites:
• YouTube (Only public videos)
• WordPress.tv (Currently only VideoPress type videos)