
內容簡介
EG-Attachments 新增了一個新的 shortcode – attachements。這個 shortcode 可以搭配多種選項使用。
但是,您不需要知道所有這些選項,因為這個外掛是 “TinyMCE 集成” 的:從文章編輯器中,只需點選 EG-Attachments 按鈕,就會彈出一個視窗,可以選擇要顯示的文件、列表標題、圖示大小等 … 不需要學習任何東西。
如果您想要手動插入 shortcode,也可以透過 do_shortcode 函數在範本中使用它。
另一種方法是啟用 “自動縮略語選項” ,它會自動在您的文章或頁面中添加附件列表。
每個附件列表都包含以下內容:
圖示,
標題,
描述,
腳註,
類型,
日期,
大小。
選項包括:
圖示大小,
排序方式,
文件類型,
文件列表,
列表標題,
每個文檔的標籤,
顯示字段(腳註、描述、日期、類型等),
附件的鏈接類型:永久鏈接或直接鏈接到文件,
強制 “另存為” (而不是顯示文檔),
貢獻者
感謝以下貢獻者:
Dave 提供的 “自定義樣式” 功能,
Rebekah 提供的視頻教程,
Luca Maida 對 HTML 標準兼容性的評論,
Roberto Scano 對調試和新功能(例如標籤)的建議,
David Lingren 對調試的幫助,
翻譯
此外掛附帶了 10 種語言的翻譯。兩種翻譯已完成版本 2.0.3:
英文 (EN) – Emmanuel
法文 (FR) – Emmanuel,
感謝以下貢獻者對先前版本的貢獻:
阿拉伯語 (AR) – Mahmoud Ahmed,
白俄羅斯語 (BY) – Fatcow,
捷克語 (CZ) – Josef šabata,
荷蘭語 (NL) – Rene at WP webshop,
德文 (DE) – DesignContext,
愛爾蘭語 (GA) – Vikas Arora,
義大利語 (IT) – Luca Maida 和 Roberto Scano,
西班牙語 (ES) – David Arinez,
波蘭語 (PL) – Mariusz Szatkowski,
羅馬尼亞語 (RO) – Armand Coveanu,
俄文 (RU) – Semyon Nikiforov,
瑞典語 (SE) – Jonas Floden
如果您想要協助把此外掛翻譯成您所使用的語言,請查看含有所有定義的 eg_attachments.pot 檔案,並且使用 GNU 工具箱。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
EG-Attachments add a new shortcode attachements. This shortcode can be used with many options.
But you don’t need to know all of these options, because the plugin is “TinyMCE integrated” : from the post editor, just click on the EG-Attachments button, and a window allows you to choose documents to display, title of the list, size of icons … Nothing to learn.
You can insert the shortcode by hand if you want, or use it in a template using the do_shortcode function.
An another way is to activate option auto shortcode that automaticaly adds the list of attachments, where you want in your posts or pages.
The list includes, for each attachments:
Icon,
Title,
Description,
Caption,
Type,
Date,
Size.
Options are
Icon size,
Sort order,
Document type,
Document list,
Title of the list,
Label of each document,
Fields to display (caption, description, date, type, …),
Type of link to attachments: permalink, or direct link to the file,
Force “Save as” (rather than display document),
Contributions
Thanks to
Dave for the “custom style” feature,
Rebekah for her video tutorial
Luca Maida for his comments on HTML standards compliance
Roberto Scano for his help on debugging, and ideas for new features (tags for example)
David Lingren for his help on debugging
Translations
The plugin comes up with 10 translations. Two translations are completed for the version 2.0.3:
English (EN) – Emmanuel
French (FR) – Emmanuel,
Thanks to the following people for their contributions, on the previous versions:
Arabic (AR) – Mahmoud Ahmed,
Belarusian (BY) – Fatcow,
Czech (CZ) – Josef šabata,
Dutch (NL) – Rene at WP webshop,
German (DE) – DesignContext,
Irish (GA) – Vikas Arora,
Italian (IT) – Luca Maida and Roberto Scano,
Spanish (ES) – David Arinez,
Polish (PL) – Mariusz Szatkowski,
Romanian (RO) – Armand Coveanu,
Russian (RU) – Semyon Nikiforov,
Swedish (SE) – Jonas Floden
If you want to help to translate the plugin to your language, please have a look at the eg_attachments.pot file which contains all definitions and may be used with a gettext editor like Poedit (Windows).
If you have created your own language pack, or have an update of an existing one, you can send gettext .po and .mo files to me so that I can bundle it into the plugin.
Credits
The icon of the plugin in the WordPress’ plugins repository is from Ionicons. MIT license
