Title: Attach Files Widget
Author: VeXell
Published: <strong>2013年3月17日</strong>
Last modified: 2014年10月28日

---

搜尋外掛

![](https://ps.w.org/attach-files-widget/assets/banner-772x250.png?rev=683128)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/attach-files-widget/assets/icon-256x256.png?rev=1015423)

# Attach Files Widget

 由[VeXell](https://profiles.wordpress.org/vexell/)

[下載](https://downloads.wordpress.org/plugin/attach-files-widget.zip)

 * [詳情](https://zh-hk.wordpress.org/plugins/attach-files-widget/#description)
 * [評價](https://zh-hk.wordpress.org/plugins/attach-files-widget/#reviews)
 *  [安裝](https://zh-hk.wordpress.org/plugins/attach-files-widget/#installation)
 * [開發](https://zh-hk.wordpress.org/plugins/attach-files-widget/#developers)

 [支援](https://wordpress.org/support/plugin/attach-files-widget/)

## 描述

Simple attachment widget that uses native WordPress upload manager to add files 
link widgets to your site.

 * Title and Description
 * Attach Existing Files
 * Upload New files
 * Sort files

### Documentation

Press “Add attachment” button. Upload or choose exists file. Add title or description
for file. Press “Insert Into Widget”.
 To remove attachment press “x” link.

At any post or page you can use shortcode [widget_attachments] to display widget
content.
 Available params: id – Widget ID (You can see at widget) limit – How many
items can be showed

Example: [widget_attachments id=”3″ limit=5] It will show 5 attached files from 
Widget ID equal 3;

## 螢幕截圖

 * [[
 * Image Widget admin screen.
 * [[
 * Wordpress uploader for Widget

## 安裝

#### Install

 1. In your WordPress administration, go to the Plugins page
 2. Activate the Image Widget plugin and a subpage for the plugin will appear
     in your
    Manage menu.
 3. Go to the Appearance > Widget page and place the widget in your sidebar in the 
    Design

If you find any bugs or have any ideas, please mail me.

#### Requirements

 * PHP 5.1 or above
 * WordPress 3.5.1 or above

## 評價

![](https://secure.gravatar.com/avatar/43392a388923a15611432ec99944350ad620ed87eb9537d5d0693ad5bf454ffc?
s=60&d=retro&r=g)

### 󠀁[Great and simple](https://wordpress.org/support/topic/great-and-simple-51/)󠁿

 [Sagrav](https://profiles.wordpress.org/sagrav/) 2016年9月3日

Great and simple. Thanks !

![](https://secure.gravatar.com/avatar/b09866e1d6046074a9cac7f0151b5e8b53fb3eaf0afb5613e450e396ccd3e217?
s=60&d=retro&r=g)

### 󠀁[Exactly what I was looking for!](https://wordpress.org/support/topic/exactly-what-i-was-looking-for-198/)󠁿

 [Tanhuxa](https://profiles.wordpress.org/tanhuxa/) 2016年9月3日

It do the job. Thanks a lot!

 [ 閱讀全部5個評價 ](https://wordpress.org/support/plugin/attach-files-widget/reviews/)

## 貢獻者及開發者

“Attach Files Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

 *   [ VeXell ](https://profiles.wordpress.org/vexell/)

[將 Attach Files Widget 外掛本地化為台灣繁體中文版。](https://translate.wordpress.org/projects/wp-plugins/attach-files-widget)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/attach-files-widget/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/attach-files-widget/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/attach-files-widget/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/attach-files-widget/)。

## 修改日誌

#### 2.4

Thx Henrique Vianna

 * Added an extra widget configuration option, that allows the user to choose large,
   small or no icons (defaults to “no icons”, keeping the original plugin behavior)
 * Added a frontend.css file to the ./assets/css/ folder for styling the icons display(
   each file name was wrapped in an additional “div” tag, to help with the positioning
   of the icons)
 * Added filetype icon images to ./assets/images/
 * Some tweaks in the i18n functions
 * Added Brazilian Portuguese (pt_BR) translation files

#### 2.3

 * Fix error with “Featured image”

#### 2.2

 * Add shortcode to display widget content
 * Fix error with plugins like “WP-PAGE-WIDGET”. Widget styles and javascript initialization
   has been added to “admin_init”

#### 2.1

 * Add files sorting option
 * Fix some bugs

#### 2.0

 * Use new WordPress uploader
 * Add description for files

#### 1.1

 * Fix javascript window.send_to_editor function.

#### 1.0

 * First version

## 其它

 *  Version **2.4**
 *  Last updated **12 年之前**
 *  Active installations **100+**
 *  WordPress version ** 3.5.1 or higher **
 *  Tested up to **4.0.38**
 *  Language
 * [English (US)](https://wordpress.org/plugins/attach-files-widget/)
 * Tags
 * [admin](https://zh-hk.wordpress.org/plugins/tags/admin/)[attachments](https://zh-hk.wordpress.org/plugins/tags/attachments/)
   [sidebar](https://zh-hk.wordpress.org/plugins/tags/sidebar/)[upload](https://zh-hk.wordpress.org/plugins/tags/upload/)
   [widget](https://zh-hk.wordpress.org/plugins/tags/widget/)
 *  [進階顯示](https://zh-hk.wordpress.org/plugins/attach-files-widget/advanced/)

## 評分

 5 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/attach-files-widget/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/attach-files-widget/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/attach-files-widget/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/attach-files-widget/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/attach-files-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/attach-files-widget/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/attach-files-widget/reviews/)

## 貢獻者

 *   [ VeXell ](https://profiles.wordpress.org/vexell/)

## 支援

有話想說？需要協助？

 [檢視支援論壇](https://wordpress.org/support/plugin/attach-files-widget/)