Helping site owners learn WordPress since 2012 · (844) WP-TUTOR
Block Editor

Adding a file in Gutenberg

Learn how to add a downloadable file in the WordPress Gutenberg editor using the File block, from uploading to customizing the download button and link.

WT
WP Tutoring TeamWordPress Instructors
Updated Mar 8, 2021
1 min read

Step 1

Hover your mouse over the Add Block icon (the plus sign in the upper left hand corner within the Gutenberg editor).

Step 2

Select Blocks. Then scroll to Common Blocks. Under that section you will see File. Select File.
Hint: You can also type “file” in the search bar to quickly get to the file option.

Step 3

A file block will appear within the editor. Click on Upload to upload a file from your computer. Click on Media Library to select a file that you’ve previously uploaded to your media library.

Step 4

Once you have uploaded a file, you will see a link to your file and a button. If you would like, you can change the button text and remove the hyperlink. You can make the button link to your file instead of using a hyperlink.

Step 5

On the right hand side is a sub menu to help customize how your file block works. The Link to drop down menu allows you to make your link direct to the file itself or the page that has a file attached to it. The Open in New Window allows you to set the link to open in your current browser window or open it in a new one. You can also use the show download button toggle to display or hide your button.

Step 6

Remember to publish your page to save your settings

WT

WP Tutoring Team

WordPress Instructors

We’ve been teaching WordPress to individuals and businesses since 2013 — through step-by-step tutorials and 1-on-1 tutoring sessions.

Leave a comment

Comments are reviewed before they appear.

Get our free WordPress starter guide

Join thousands of site owners and get step-by-step WordPress tutorials in your inbox, plus printable cheat sheets.

Beginner-friendly, no jargon
Printable cheat sheets & checklists
Unsubscribe anytime

Request your session

We’ll reply quickly — usually the same business day.

By using this form you agree with the storage and handling of your data by this site.