{"id":11285052,"date":"2019-03-07T10:09:09","date_gmt":"2019-03-07T10:09:09","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&p=11285052"},"modified":"2024-06-06T16:50:32","modified_gmt":"2024-06-06T16:50:32","slug":"file-block","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/file-block\/","title":{"rendered":"File block"},"content":{"rendered":"\n

Go back to the list of Blocks<\/strong><\/a><\/p>\n\n\n\n

The File Block<\/strong> allows you to add a link to the downloadable files on your website. <\/p>\n\n\n\n

In this video, you can see how to use the file block and the different settings to customize it. <\/p>\n\n\n\n

    \n
  1. To add a File block,<\/strong> use the Block Inserter<\/strong> (+), or you can type \/file<\/code> in a new paragraph block and press enter.<\/li>\n<\/ol>\n\n\n\n
    \"How<\/a><\/figure>\n\n\n\n

    Detailed instructions on adding blocks<\/a><\/p>\n\n\n\n

      \n
    1. To add a file, you can use the upload button to upload your files directly from your computer, or you can click Media Library<\/strong> to add files from your media library.<\/li>\n<\/ol>\n\n\n\n
      \"How<\/figure>\n\n\n\n

      After you add a file, you can edit the file name by typing inside the rectangle. You can click Replace<\/strong> to replace the file and upload another one. You can click Copy URL<\/strong> to copy the URL of the file.<\/p>\n\n\n\n

      \"Block<\/figure>\n\n\n\n

      If you try to upload an unsupported file, you will see an error notification at the bottom-left corner of the screen.<\/p>\n\n\n\n

      \"Error<\/figure>\n\n\n\n

      Block toolbar<\/h2>\n\n\n\n

      Every block comes with unique toolbar icons and block-specific user controls that allow you to manipulate the block right in the editor.<\/p>\n\n\n\n

      The File block has seven buttons:<\/p>\n\n\n\n