Download List Block with Icons

描述

Use a Gutenberg Block to manage a download list with file type specific icons. No configuration is necessary. The Block can be used immediately after installation.

Features

  • Choose files from media library
  • Output chosen files as list with file-type-specific icon, download-link, title, size and description from media library
  • Ships with multiple iconsets (Bootstrap-Icons, Dashicons, FontAweSome-Icons, Themify-Icons)
  • Drag & Drop sorting for the list
  • Remove files from list

Supports

  • Display of file size, description and icon can be switched on and off
  • Choose what link should be published: direct link or attachment page
  • Choose an iconset for each Block; manage custom icons in unlimited lists
  • Usage of multiple hooks to change or add icons to shipped iconsets
  • Sort list by title or filesize with one click
  • The Block can be used in widgets
  • Set colors, typography and borders for each Block
  • Use External files in media library if you want to link to external files

The development repository is on GitHub.

屏幕截图

  • After adding the Block you have to choose the files.
  • After adding files to the Block they will be listed.
  • The files will be listed in the frontend.

区块

该插件提供了 1 个区块.

  • Download List Block with Icons Provides a Gutenberg block for capturing a download list with file type specific icons.

安装

  1. Upload “download-list-block-with-icons” to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Add the Download List Block to the post or page where you want to show the download list. Choose the file(s) you wish to present.

常见问题

Where do I enter the description of a file?

The description stored at the file in the Media Library itself is used as the description. You can edit it in 2 ways:

  • Open the file in the Media Library for editing. There you will find the field “Description”. Enter the desired description here.
  • Or open this editing mask via the pencil at the file in the block you have created.

You can also add a custom title and description for each file used only by the Block of this plugin.

Is there a limit to the amount files?

No, there are no restrictions.

Can I use the block in my theme?

The block can basically be used in any theme that supports Gutenberg blocks. If this is the case for your theme, you have to ask your theme developer.

Can I add my own icons?

Yes, you can manage your custom iconsets in WordPress-backend.

No icon is displayed at a file. Why?

The file will probably have a file type that does not follow the WordPress standard and is therefore not included in our plugin. You have 2 options:

  • Use the iconset specific hook “downloadlist_*_icons” to add the list of icons. Check beforehand with the developer of your chosen icon set if the icon you want is included there.
  • Use another icon set, which supports the file type if necessary.

Does the plugin also support Elementor or other PageBuilders?

No. The plugin is intended solely for the Gutenberg editor and will not be extended to other PageBuilders.

评价

2025 年 10 月 15 日
It’s very useful that it’s easy to use and compatible with Gutenberg. I searched everywhere and was starting to despair. So thank you to @threadi for this great work.I’ve suggested translations for the French version. I m waiting for their validation. I really need a French version for next month 🙂
2023 年 7 月 20 日 1 回复
I was looking for a plugin that would allow me to show the size of the files I wanted to share with the community as well as the extension and icons to show for each individual file. With this plugin I found everything. Good integration with Gutenberg. This plugin replaces Gutenberg’s insufficient native “file block” and extends its capabilities. Please, increase the possibility to select file’s icons
2023 年 4 月 12 日 3 回复
This Gutenberg block plugin makes it very easy to add a list of downloads anywhere on the page. You can select the files from the media manager and choose whether to show the description, size, etc. And they can be bullets or numbered. My page builder often conflicts with 3rd party blocks, but this one worked perfectly. It looks very elegant, and it will be easy for my clients to use. Originally I had a conflict, but support fixed it immediately – very responsive development team!
2022 年 10 月 19 日
This plugin is even better than the built-in single download link block since it takes its link text from the media title instead of the media filename. Thank you, Thomas!
阅读所有7条评价

贡献者及开发者

「Download List Block with Icons」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Download List Block with Icons」插件已被翻译至 5 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Download List Block with Icons」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

4.1.1

  • Updated dependencies

older changes