內容簡介
MimeTypes Link Icons 是一個外掛程式,尋找您部落格文章中的檔案連結和上傳,並在其旁邊添加漂亮的圖示。可選擇在連結旁邊加上檔案大小。
對於 v3.0 及以上版本的重要注意事項:這個版本部分破壞了向後相容性:現在需要 PHP5.1+ 和 WP 3.5+。詳細信息請參閱更改記錄。
圖示是可配置的。您可以選擇顯示帶有透明背景的 PNG 或帶有白色墊片的 GIF,將圖示顯示在連結的左邊或右邊,並選擇圖示大小。
每個圖示可用的大小如下:
16x16 像素
24x24 像素
48x48 像素
64x64 像素
128x128 像素
支持以下文件擴展名:
.3g2
.3gp
.ai
.air
.asf
.avi
.bib
.cls
.csv
.deb
.djvu
.dmg
.doc
.docx
.dwf
.dwg
.eps
.epub
.exe
.f
.f77
.f90
.flac
.flv
.gif
.gz
.ico
.indd
.iso
.jpg
.jpeg
.key
.log
.m4a
.m4v
.midi
.mkv
.mov
.mp3
.mp4
.mpeg
.mpg
.msi
.msix
.odp
.ods
.odt
.oga
.ogg
.ogv
.pdf
.png
.pps
.ppsx
.ppt
.pptm
.pptx
.psd
.pub
.py
.qt
.ra
.ram
.rar
.rm
.rpm
.rtf
.rv
.skp
.spx
.sql
.sty
.tar
.tex
.tgz
.tiff
.ttf
.txt
.vob
.wav
.wmv
.xls
.xlsx
.xml
.xpi
.zip
本地化:
荷蘭語 - jrf
請幫忙將此外掛程式翻譯成更多的語言。翻譯文件已包含在下載中。有關更多信息,請參閱常見問題。
要求:
自版本 3.0 起,這個外掛程式現在需要 PHP5.2+ 和 WP 3.5+。
同樣需要啟用 PHP 过滤器擴展。
需要更多的內容嗎?
如果您需要這個外掛程式的支援,或者甚至要編寫完全不同的外掛程式:請雇用Toby或Juliette!
錯誤報告:
如果外掛程式出現錯誤或無法正常工作,請首先檢查您是否使用最新版本,如果沒有,請升級並檢查。
如果在保存設置時出現空白頁面,請檢查是否啟用了 PHP 过滤器擴展 - 在正常的 PHP 安裝中,它是啟用的,但某些不良的網頁主機公司可能禁用了它。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
MimeTypes Link Icons is a plugin that looks for links to files and uploads in your blogs posts and adds a nice icon next to it. Optionally add the file’s file size next to the link.
Important note on v3.0 and up: This version partially breaks backwards compatibility: the plugin now requires PHP5.1+ and WP 3.5+. Please have a look at the changelog for more information about the changes.
The icons are configurable. You can choose to display a PNG with transparent background or GIF with white matte, display the icon to the left or the right of the link and choose the icon size.
Each icon is available in the following sizes:
16x16px
24x24px
48x48px
64x64px
128x128px
Supported File Extensions
.3g2
.3gp
.ai
.air
.asf
.avi
.bib
.capx
.cls
.csv
.deb
.djvu
.dmg
.doc
.docx
.dwf
.dwg
.eps
.epub
.exe
.f
.f77
.f90
.flac
.flv
.gif
.gz
.ico
.indd
.iso
.jpg
.jpeg
.key
.log
.m4a
.m4v
.midi
.mkv
.mov
.mp3
.mp4
.mpeg
.mpg
.msi
.msix
.odp
.ods
.odt
.oga
.ogg
.ogv
.pages
.pdf
.png
.pps
.ppsx
.ppt
.pptm
.pptx
.psd
.pub
.py
.qt
.ra
.ram
.rar
.rm
.rpm
.rtf
.rv
.skp
.spx
.sql
.sty
.tar
.tex
.tgz
.tiff
.ttf
.txt
.vob
.wav
.wmv
.xls
.xlsx
.xml
.xpi
.zip
Localization
Dutch – jrf
Please help make this plugin available in more languages by translating it. The translation files are included in the download. See the FAQ for more info.
Requirements
Since version 3.0, the plugin now requires PHP5.2+ and WP 3.5+.
The PHP filter extension needs to be enabled as well.
Need more ?
If you need support for this plugin or even want a completely different plugin programmed: hire Toby or Juliette!
Error Reporting
The plugin is causing errors/not working the way it should!
First thing to check is whether you are using the latest version, if not, please upgrade and check again.
If you are getting a blank screen when saving the settings, please check that the PHP filter extension is enabled – it is enabled by default in a normal PHP installation, though some disreputable webhosting companies seem to disable it. If that’s the case, contact your webhost to get them to turn it on.
You can check your server php configuration using the code snippet below:
You may want to wrap this snippet in an if( WP_DEBUG === true ) {} and you can remove it once you’ve send us the output.
Alternatively, you can (temporarily) change the variable in the plugin file, search for the following code snippet and change false to true:
/**
* @var bool Debug setting to enable extra debugging for the plugin
*/
var $debug = false;
