Title: The Library
Author: Abdalsalaam Halawa
Published: <strong>2025 年 8 月 20 日</strong>
Last modified: 2025 年 8 月 20 日

---

搜尋外掛

![](https://ps.w.org/the-library/assets/banner-772x250.jpg?rev=3347559)

![](https://ps.w.org/the-library/assets/icon.svg?rev=3347363)

# The Library

 由 [Abdalsalaam Halawa](https://profiles.wordpress.org/abdalsalaam/) 開發

[下載](https://downloads.wordpress.org/plugin/the-library.1.0.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/the-library/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/the-library/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/the-library/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/the-library/#developers)

 [技術支援](https://wordpress.org/support/plugin/the-library/)

## 外掛說明

The Library is a powerful WordPress plugin that allows you to create a comprehensive
files library with advanced user data collection features. Perfect for businesses,
educational institutions, and content creators who want to track and manage file
downloads.

#### Admin Features

 * **Custom Post Type**: “Files Library” with file upload capability
 * **File Management**: Upload files directly within the post editor
 * **Categories**: Organize files with custom taxonomy
 * **Download Tracking**: Track all download requests with user data
 * **CSV Export**: Export collected user data as CSV
 * **Admin Dashboard**: View and manage download requests
 * **File Statistics**: View download counts and file details

#### Frontend Features

 * **Library Archive**: Main library page similar to blog archive
 * **Search & Filters**: Search files and filter by category, file type, and sort
   options
 * **Responsive Design**: Mobile-friendly interface
 * **Download Protection**: Users must provide contact information to download
 * **User Data Collection**: Collect name, email, and mobile number before download
 * **Download Tokens**: Secure download links valid for 24 hours

#### Security Features

 * **Nonce Protection**: All AJAX requests are protected with nonces
 * **Data Validation**: Server-side validation of all user inputs
 * **Download Tokens**: 24-hour tokens for secure downloads with multiple use
 * **Rate Limiting**: Prevent multiple requests from same user within 24 hours
 * **IP Tracking**: Track IP addresses for download requests

### Usage

#### Adding Files

 1. Go to **Files Library > Add New** in your WordPress admin
 2. Add a title and description for your file
 3. Set a featured image (recommended)
 4. Use the “File Upload” meta box to upload your file
 5. Assign categories if needed
 6. Publish the post

#### Managing Downloads

 1. Go to **Files Library > Download Requests** to view all download requests
 2. Use the search and filter options to find specific requests
 3. Export data as CSV using the “Export CSV” button
 4. Delete individual requests or use bulk actions

### Customization

#### Template Override

You can override the plugin templates by copying them to your theme:

 1. Copy `templates/archive-files-library.php` to your theme root
 2. Copy `templates/single-files-library.php` to your theme root
 3. Customize as needed

## 螢幕擷圖

[⌊Files Library archive page with search and filters⌉⌊Files Library archive page
with search and filters⌉[

Files Library archive page with search and filters

[⌊Single file page with download form⌉⌊Single file page with download form⌉[

Single file page with download form

[⌊Admin dashboard showing download requests⌉⌊Admin dashboard showing download requests⌉[

Admin dashboard showing download requests

[⌊File upload interface in admin⌉⌊File upload interface in admin⌉[

File upload interface in admin

## 安裝方式

 1. Upload the plugin folder to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. The plugin will automatically create the necessary database table
 4. Start adding files through the “Files Library” menu in admin

## 常見問題集

### Can I customize the download form fields?

Currently, the plugin collects name, email (optional), and mobile number. Future
versions will include customizable fields.

### Are downloads secure?

Yes, the plugin uses secure download tokens that expire after 24 hours and includes
nonce protection for all requests.

### Can I export user data?

Yes, you can export all collected user data as CSV from the admin dashboard.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈The Library〉的開發相關工作。

參與者

 *   [ Abdalsalaam Halawa ](https://profiles.wordpress.org/abdalsalaam/)

[將〈The Library〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/the-library)

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

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

## 變更記錄

#### 1.0.2

 * PHP and JS warnings fixes.

#### 1.0.1

 * Security fix.

#### 1.0.0

 * Initial release.

## 中繼資料

 *  版本 **1.0.2**
 *  最後更新 **11 個月前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/the-library/)
 * 標籤:
 * [downloads](https://tw.wordpress.org/plugins/tags/downloads/)[file library](https://tw.wordpress.org/plugins/tags/file-library/)
 *  [進階檢視](https://tw.wordpress.org/plugins/the-library/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/the-library/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/the-library/reviews/)

## 參與者

 *   [ Abdalsalaam Halawa ](https://profiles.wordpress.org/abdalsalaam/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/the-library/)