Difference between revisions of "Attach a file to a WordPress post or page"

From Help Wiki
m
m (subst applied to Template:TwoColumn)
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
 +
<div class="container-fluid">
 +
<div class="row">
 +
<div class="col-md-8">
 +
<div class="lead">
 +
Learn how to upload a file to WordPress and add a link for others to download.
 +
</div>
 +
 +
===Upload the file and create a link===
 
From the post or page where you want the link:
 
From the post or page where you want the link:
#Click the '''"Add Media"''' button [[Image:Addmedia-wp.png]]
+
#Click the '''Add Media''' button [[Image:imagemenu.png|thumb|250px|right]]
#Upload your file: choose '''Select File''' and locate the file on your hard drive
+
#Choose '''Upload Files''' and '''Select File''' to locate the file on your hard drive (you can also drag and drop the file)
#Once the file has been successfully uploaded click the '''"File the URL"''' button (the url of the file will now be displayed)
+
 
#Change the Title field if you need to, this will become the name of the link embedded in your post
 
#Change the Title field if you need to, this will become the name of the link embedded in your post
#Click the '''"Insert into post"''' button
+
#Set the '''Link To''' field to '''Media File''' otherwise an additional page will be created to download the file from
 +
#Click the '''"Insert into post"''' button to create the text link to the file
 
#Publish your post
 
#Publish your post
  
 +
[[Image:Wordpress-attachfile.png|350px]]
 +
 +
===For protected files===
 +
To attach files that need protected access see:
 +
 +
[[Linking to Protected Files on Orca| Attaching links to protected readings in WordPress]]
 +
 +
 +
<!-- end col-md-8 -->
 +
</div>
 +
<div class="col-md-1"></div>
 +
<div class="col-md-3 sidebar">
 +
{{WordPress Sidebar Header}}
 +
 +
{{WordPress Help Sidebar}}
  
[[Image:Wordpress-attachfile.png]]
+
<!-- end col-md-3-->
 +
</div>
 +
<!-- end row-->
 +
</div>
 +
<!-- end container-->
 +
</div>
 +
<!-- Generator=Template:TwoColumn -->
 +
__NOTOC__
 +
__NOEDITSECTION__
  
 
  [[category:Wordpress]]
 
  [[category:Wordpress]]
 
  [[category:Wordpress Tutorial]]
 
  [[category:Wordpress Tutorial]]

Latest revision as of 17:00, 14 August 2017

Learn how to upload a file to WordPress and add a link for others to download.

Upload the file and create a link

From the post or page where you want the link:

  1. Click the Add Media button
    Imagemenu.png
  2. Choose Upload Files and Select File to locate the file on your hard drive (you can also drag and drop the file)
  3. Change the Title field if you need to, this will become the name of the link embedded in your post
  4. Set the Link To field to Media File otherwise an additional page will be created to download the file from
  5. Click the "Insert into post" button to create the text link to the file
  6. Publish your post

Wordpress-attachfile.png

For protected files

To attach files that need protected access see:

Attaching links to protected readings in WordPress