{"id":110731,"date":"2010-11-02T08:00:00","date_gmt":"2010-11-02T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/mimetypes-link-icons\/"},"modified":"2025-01-07T23:54:00","modified_gmt":"2025-01-07T23:54:00","slug":"mimetypes-link-icons","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/mimetypes-link-icons\/","title":{"rendered":"MimeTypes Link Icons"},"content":{"rendered":"<p>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\u2019s file size next to the link.<\/p>\n<p><strong>Important note on v3.0 and up<\/strong>: This version partially breaks backwards compatibility: the plugin now requires PHP5.1+ and WP 3.5+. Please have a look at the <a href=\"https:\/\/wordpress.org\/plugins\/mimetypes-link-icons\/changelog\/\" rel=\"ugc\">changelog<\/a> for more information about the changes.<\/p>\n<p>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.<\/p>\n<p>Each icon is available in the following sizes:<\/p>\n<ul>\n<li>16x16px<\/li>\n<li>24x24px<\/li>\n<li>48x48px<\/li>\n<li>64x64px<\/li>\n<li>128x128px<\/li>\n<\/ul>\n<h4>Supported File Extensions<\/h4>\n<ul>\n<li>.3g2<\/li>\n<li>.3gp<\/li>\n<li>.ai<\/li>\n<li>.air<\/li>\n<li>.asf<\/li>\n<li>.avi<\/li>\n<li>.bib<\/li>\n<li>.capx<\/li>\n<li>.cls<\/li>\n<li>.csv<\/li>\n<li>.deb<\/li>\n<li>.djvu<\/li>\n<li>.dmg<\/li>\n<li>.doc<\/li>\n<li>.docx<\/li>\n<li>.dwf<\/li>\n<li>.dwg<\/li>\n<li>.eps<\/li>\n<li>.epub<\/li>\n<li>.exe<\/li>\n<li>.f<\/li>\n<li>.f77<\/li>\n<li>.f90<\/li>\n<li>.flac<\/li>\n<li>.flv<\/li>\n<li>.gif<\/li>\n<li>.gz<\/li>\n<li>.ico<\/li>\n<li>.indd<\/li>\n<li>.iso<\/li>\n<li>.jpg<\/li>\n<li>.jpeg<\/li>\n<li>.key<\/li>\n<li>.log<\/li>\n<li>.m4a<\/li>\n<li>.m4v<\/li>\n<li>.midi<\/li>\n<li>.mkv<\/li>\n<li>.mov<\/li>\n<li>.mp3<\/li>\n<li>.mp4<\/li>\n<li>.mpeg<\/li>\n<li>.mpg<\/li>\n<li>.msi<\/li>\n<li>.msix<\/li>\n<li>.odp<\/li>\n<li>.ods<\/li>\n<li>.odt<\/li>\n<li>.oga<\/li>\n<li>.ogg<\/li>\n<li>.ogv<\/li>\n<li>.pages<\/li>\n<li>.pdf<\/li>\n<li>.png<\/li>\n<li>.pps<\/li>\n<li>.ppsx<\/li>\n<li>.ppt<\/li>\n<li>.pptm<\/li>\n<li>.pptx<\/li>\n<li>.psd<\/li>\n<li>.pub<\/li>\n<li>.py<\/li>\n<li>.qt<\/li>\n<li>.ra<\/li>\n<li>.ram<\/li>\n<li>.rar<\/li>\n<li>.rm<\/li>\n<li>.rpm<\/li>\n<li>.rtf<\/li>\n<li>.rv<\/li>\n<li>.skp<\/li>\n<li>.spx<\/li>\n<li>.sql<\/li>\n<li>.sty<\/li>\n<li>.tar<\/li>\n<li>.tex<\/li>\n<li>.tgz<\/li>\n<li>.tiff<\/li>\n<li>.ttf<\/li>\n<li>.txt<\/li>\n<li>.vob<\/li>\n<li>.wav<\/li>\n<li>.wmv<\/li>\n<li>.xls<\/li>\n<li>.xlsx<\/li>\n<li>.xml<\/li>\n<li>.xpi<\/li>\n<li>.zip<\/li>\n<\/ul>\n<h4>Localization<\/h4>\n<ul>\n<li>Dutch \u2013 <a href=\"https:\/\/wordpress.org\/support\/profile\/jrf\" rel=\"ugc\">jrf<\/a><\/li>\n<\/ul>\n<p>Please help make this plugin available in more languages by translating it. The translation files are included in the download. See the <a href=\"https:\/\/wordpress.org\/plugins\/mimetypes-link-icons\/faq\/\" rel=\"ugc\">FAQ<\/a> for more info.<\/p>\n<h4>Requirements<\/h4>\n<p>Since version 3.0, the plugin now requires PHP5.2+ and WP 3.5+.<br \/>\nThe PHP filter extension needs to be enabled as well.<\/p>\n<h4>Need more ?<\/h4>\n<p>If you need support for this plugin or even want a completely different plugin programmed: hire <a href=\"http:\/\/blog.eagerterrier.co.uk\/\" rel=\"nofollow ugc\">Toby<\/a> or <a href=\"http:\/\/adviesenzo.nl\/\" rel=\"nofollow ugc\">Juliette<\/a>!<\/p>\n<h3>Error Reporting<\/h3>\n<h4>The plugin is causing errors\/not working the way it should!<\/h4>\n<p>First thing to check is whether you are using the latest version, if not, please upgrade and check again.<\/p>\n<p>If you are getting a blank screen when saving the settings, please check that the PHP filter extension is enabled \u2013 it is enabled by default in a normal PHP installation, though some disreputable webhosting companies seem to disable it. If that\u2019s the case, contact your webhost to get them to turn it on.<\/p>\n<p>You can check your server php configuration using the code snippet below:\n    <php<br \/>\n    phpinfo();<\/p>\n<p>If the error persists, please report any errors you are getting in the <a href=\"https:\/\/wordpress.org\/support\/plugin\/mimetypes-link-icons\" rel=\"ugc\">WP forum<\/a> or on <a href=\"https:\/\/github.com\/eagerterrier\/MimeTypes-Link-Icons\" rel=\"nofollow ugc\">GitHub<\/a>. Error reporting is much appreciated as it will improve the plugin for everyone!<\/p>\n<p>We\u2019ll need at least the following information:<\/p>\n<ul>\n<li>the complete error message if there is any<\/li>\n<li>a description of the problem<\/li>\n<li>the version number of the plugin you are using<\/li>\n<li>preferably a link to a page where we can see the error<\/li>\n<li>depending on the error: the WP version you are using and the PHP version WP is running on<\/li>\n<\/ul>\n<p>Sometimes we may need information on the settings you are using. If you have <a href=\"https:\/\/codex.wordpress.org\/WP_DEBUG\" rel=\"nofollow ugc\"><code>WP_DEBUG<\/code><\/a> set to <code>true<\/code>, you will see a list of the plugin settings at the bottom of the MimeType Link Icons settings page.<\/p>\n<p>On rare occasions, like with problems with the filesize functions, we may need even more information. We will then ask you to turn on a plugin-specific debugging option.<\/p>\n<p>To do so, please add the following to your (child-)theme\u2019s functions.php file:<\/p>\n<pre><code>$GLOBALS['mimetypes_link_icons']->debug = true;\n<\/code><\/pre>\n<p>You may want to wrap this snippet in an <code>if( WP_DEBUG === true ) {}<\/code> and you can remove it once you\u2019ve send us the output.<\/p>\n<p>Alternatively, you can (temporarily) change the variable in the plugin file, search for the following code snippet and change <code>false<\/code> to <code>true<\/code>:<\/p>\n<pre><code>\/**\n * @var bool    Debug setting to enable extra debugging for the plugin\n *\/\nvar $debug = false;\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Adds icons automatically to any uploads and\/or file links inserted into your blog posts.<\/p>\n","protected":false},"author":65,"featured_media":308286,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"MimeTypes Link Icons - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Adds icons automatically to any uploads and\/or file links inserted into your blog posts."},"footnotes":""},"categories":[1],"tags":[31160,236,28921],"class_list":["post-110731","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-file-icons","tag-icons","tag-mime-type"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/110731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=110731"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/110731\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/308286"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=110731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=110731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=110731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}