Media Download Block WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Media Download Block for Wordpress Gutenberg
★ 0stars
v0.0.2latest · 7mo ago
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/pjd199/media-download-block/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A lightweight, professional Gutenberg block that allows users to select files from the WordPress Media Library and display them as a stylized download row.
✨ Features
- Wide File Support: Automatically identifies and labels icons for all WordPress.com accepted filetypes (Images, PDF, ZIP, Office Docs, Video, and Audio).
- Custom Display Names: Override the default Media Library title with a custom name directly in the editor.
- Smart Metadata: Automatically displays the human-readable file size (e.g., 1.2 MB).
- Stylized UI: Features a high-visibility yellow file-type icon and a clear blue "DOWNLOAD" action button.
- Zero-Bloat Production: The automated build process ensures only necessary files are included in the final plugin zip.
📂 File Structure
media-download-block/
├── .github/workflows/
│ └── release.yml # GitHub Action for automated ZIP releases
├── src/ # Development Source (JSX, SCSS)
│ ├── index.js
│ ├── edit.js
│ ├── save.js
│ └── style.scss
├── build/ # Compiled Production Files (Auto-generated)
├── media-download-block.php # Main Plugin Entry Point
├── package.json # Build scripts & dependencies
└── README.md # This fileReleases
2 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.