Download List with Icons

Mô tả

This plugin provides 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 download-link, file-title, file-size and file-description
  • Show an icon in front of each file in list
  • 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
  • sort list by title or filesize with one click
  • the Block can be used in Widgets

Ảnh màn hình

  • 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 frontend.

Block

This plugin provides 1 block.

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

Cài đặt

  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 downloadlist. Choose the file(s) you wish to present.

Hỏi đáp

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.

Is there a limit to the number of files?

No, there are no limitations.

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 change the file icons?

The plugin provides a small number of icons for output in the web page. If you want to change or add them, you can do it with custom CSS.

Example for another general icon:
ul.downloadlist-list li:before { content:”\f497″; }

Example of a specific icon for PDF files:
ul.downloadlist-list li.file_pdf:before { content:”\f190″; }

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.

Đánh giá

26 Tháng Bảy, 2022
Interestingly this block doesn't display anything if placed inside another block (I tried Kadence rows and sections, a Gutenberg column and a Stackable column). Could be very useful if this bug is fixed. No settings to hide/show display elements but easy to do with CSS. EDIT: the issue with nested blocks was fixed, and other options like hiding file sizes and hiding icons were added. This is now a solid choice for creating a simple download list.
Đọc tất cả 1 đánh giá

Người đóng góp & Lập trình viên

“Download List with Icons” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Download List with Icons” đã được dịch qua 4 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Download List with Icons” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.0.0

  • Initial commit

1.0.1

  • Fixed issue with 3rd-party dependency
  • Updated format for Changelog

1.0.2

  • Updated dependencies

1.0.3

  • Updated dependencies

1.0.4

  • Updated compatibility-flag for WordPress 6.0

1.0.5

  • replace serialize_block in favor of render_block for better compatibility with other blocks

1.0.6

  • Add support for inner blocks
  • Fixed usage of foreign shortcodes
  • changed used sortable-library

2.0.0

  • Added option to edit each file in a Block in media library with one click
  • Added control-option to show or hide the filesize of all files in a Block (default: show)
  • Added control-option to show or hide the description of all files in a Block (default: show)
  • Added control-option to show or hide the icon of all files in a Block (default: show)
  • Added toolbar-option to sort the files in a Block by their titles with one click
  • Added toolbar-option to sort the files in a Block by their filesize with one click
  • Added control-option to set the link target for all files in a Block to
    “direct link” (e.g. /wp-content/uploads/file.pdf) or “attachment page” (e.g. /file/)
  • Added support for HTML-output in file description
  • Added support for using this Block as Widget
  • Changed loading of file-data in Block in Gutenberg: they are now loaded live from Media Library as the front page
  • Fixed icon-visibility (only default icon was visible)
  • Updated compatibility-flag for WordPress 6.0.1

2.0.1

  • Fixed release-upload problem

2.0.2

  • Fixed widget-handling: all other widgets were not visible

2.0.3

  • Fixed limit of entries per list – it’s now unlimited