توضیحات
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.
ویژگی ها
- انتخاب فایل از کتابخانه رسانه
- 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)
- قابلیت درگ و دراپ برای لیست
- حذف فایل از لیست
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 generated iconsets
- Sort list by title or filesize with one click
- The Block can be used in classic 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.
عکسهای صفحه
بلوکها
این افزونه 1 بلوک ارائه میدهد.
- Download List Block with Icons Provides a Gutenberg block for capturing a download list with file type specific icons.
نصب
- Upload “download-list-block-with-icons” to the “/wp-content/plugins/” directory.
- افزونه را از طریق فهرست “افزونهها” در وردپرس فعال کنید.
- ویجت بلوک لیست دانلود را به پست یا صفحه ای که می خواهید لیست دانلود را نشان دهید اضافه کنید. فایل های مورد نظر برای نمایش را انتخاب کنید.
سوالات متداول
-
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 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 comply with 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.
بررسیها
توسعه دهندگان و همکاران
“لیست دانلود به همراه آیکون” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگان“لیست دانلود به همراه آیکون” به 4 زبان ترجمه شده است. Thank you to the translators for their contributions.
ترجمه “لیست دانلود به همراه آیکون” به زبان شما.
علاقه مند به توسعه هستید؟
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
تغییرات
1.0.0
- کامیت اولیه
1.0.1
- Fixed issue with 3rd-party dependency
- فرمت جدید لیست تغیییرات
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
2.0.4
- Add some german translations
- Updated compatibility-flag for WordPress 6.1
2.1.0
- Added support for templates via theme
- Updated dependencies
- Updated compatibility-flag for WordPress 6.2
2.1.1
- Fixed output of classic block if this plugin is used
3.0.0
- Added possibility to manage different iconsets and assign them to each Block
- Added styling (e.g. color, typography ..) for Blocks using WordPress-standards
- Compatible with WordPress Coding Standards
- Minimum PHP-compatibility set to 8.0
- Only compatible with WordPress 6.0 or newer
- Compatibility with WordPress 6.3
- Compatible with theme Blockify and much more FSE-themes
3.0.1
- Fixed initialization of iconsets during plugin activation
3.1.0
- Added option to disable forcing download on click on file-link
- Added option to show download-button on each file entry
- Optimized styling for files with description
- Optimized iconset-style-generation
- Fixed usage of unique function names
3.2.0
- Added custom title and description for files in downloadlist
- Added icon for our own icon-post-type in wp-admin
- Optimized rest of code regarding WordPress Coding Standard
- Updated dependencies