• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress core a2z

WordPress core a2z

WordPress core only

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Blocks / File – core/file
Add a link to a downloadable file.

Use the File block to add a link to a downloadable file.

Screenshot

Example

Link to the image used to represent this site.

WordPress core iconDownload / view

Notes

  • You can transform image files to Image.
  • If you use the File block to upload a file it will be attached to the post even if you don’t select the file to be displayed in the block.
  • Some file types cannot be uploaded directly using the Upload button, use Media Library for these. e.g. ZIP.

Published: 16th January 2019 | Last updated: 15th March 2019

Information

Block type name: core/file
Variation name:
Documentation:
Plugin ref: WordPress
Block categories: common
Block keywords: document,pdf
Block classification: Static
Block letters: F

Footer

WP-a2z
WordPress core a2z
WordPress core only
WordPress 5.6.2
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  core.wp-a2z.org
© Copyright WP-a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites