Title: ThemePackager
Author: Ansar Hussain
Published: <strong>2026 年 8 月 24 日</strong>
Last modified: 2026 年 8 月 24 日

---

搜尋外掛

![](https://ps.w.org/themepackager/assets/banner-772x250.png?rev=3662893)

![](https://ps.w.org/themepackager/assets/icon-256x256.png?rev=3662708)

# ThemePackager

 由 [Ansar Hussain](https://profiles.wordpress.org/ansar317/) 開發

[下載](https://downloads.wordpress.org/plugin/themepackager.zip)

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

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

## 外掛說明

ThemePackager adds a simple, native-feeling “Export Themes” button to the Appearance
Themes screen, letting administrators download any installed theme as a ready-to-
use ZIP archive without touching FTP, SSH, or a hosting file manager.

**Key Features**

 * Export any single installed theme (active or inactive) as a ZIP file.
 * Export the currently active theme with one click.
 * Export all installed themes into a single `all-themes.zip` archive, with each
   theme in its own folder.
 * Native WordPress admin modal listing every installed theme with screenshot, name,
   version, author, status, folder name, directory size, and last modified date.
 * Instant search/filter across the theme list.
 * Uses PHP’s built-in `ZipArchive` class only — no external libraries, no Composer
   dependencies, no `shell_exec()`/`exec()`/`system()` calls.
 * Streams the ZIP to the browser and automatically removes the temporary file afterward—
   nothing is left behind on your server.
 * Administrator-only access, protected with WordPress nonces and strict path validation
   to prevent path traversal.
 * Compatible with shared hosting, WordPress Multisite, and PHP 7.4 through 8.4.

This plugin does not modify, move, or delete your theme files. It only reads them
in order to build a ZIP archive for download.

## 螢幕擷圖

[⌊The "Export Themes" button next to "Add New Theme" on the Appearance → Themes 
screen.⌉⌊The "Export Themes" button next to "Add New Theme" on the Appearance → 
Themes screen.⌉[

The “Export Themes” button next to “Add New Theme” on the Appearance  Themes screen.

[⌊The Export Themes modal listing all installed themes with details and individual
export buttons.⌉⌊The Export Themes modal listing all installed themes with details
and individual export buttons.⌉[

The Export Themes modal listing all installed themes with details and individual
export buttons.

[⌊Search/filter in action within the Export Themes modal.⌉⌊Search/filter in action
within the Export Themes modal.⌉[

Search/filter in action within the Export Themes modal.

## 安裝方式

**Automatic Installation**

 1. In your WordPress admin, go to Plugins  Add New.
 2. Search for “ThemePackager”.
 3. Click Install Now, then Activate.

**Manual Installation**

 1. Download the plugin ZIP file.
 2. In your WordPress admin, go to Plugins  Add New  Upload Plugin.
 3. Choose the downloaded ZIP file and click Install Now.
 4. Activate the plugin through the Plugins menu.

**FTP Installation**

 1. Unzip the plugin package.
 2. Upload the `themepackager` folder to the `/wp-content/plugins/` directory on your
    server.
 3. Activate the plugin through the Plugins menu in WordPress.

After activation, go to **Appearance  Themes** and click the **Export Themes** button
next to **Add New Theme**.

## 常見問題集

### Does this plugin modify or delete my theme files?

No. ThemePackager only reads your theme files to build a ZIP archive. It never modifies,
moves, or deletes any theme file.

### Can I export a theme that is not currently active?

Yes. Every installed theme, active or inactive, appears in the Export Themes modal
and can be exported individually.

### Does exporting “All Themes” include the active theme too?

Yes. The “Export All Themes” option creates a single `all-themes.zip` archive containing
every installed theme, each in its own top-level folder inside the ZIP.

### Where are the temporary ZIP files stored?

ZIP files are generated temporarily inside `wp-content/uploads/themepackager-temp/`,
streamed directly to your browser, and then automatically deleted from the server.
No ZIP files are stored permanently.

### What happens if the ZipArchive PHP extension is not available?

The plugin will display an admin notice explaining that the `ZipArchive` PHP extension
is required and will not attempt to run without it. Most hosts, including shared
hosting, have this extension enabled by default; contact your host if you see this
notice.

### Who can use this plugin?

Only users with the `manage_options` capability (typically Administrators) can see
the Export Themes button or use any of its export functions.

### Does this plugin work on Multisite?

Yes. ThemePackager is compatible with WordPress Multisite installations.

### Will this work on my shared hosting account?

Yes. The plugin relies exclusively on PHP’s native `ZipArchive` class and does not
use `shell_exec()`, `exec()`, `system()`, or any external libraries, making it safe
for shared hosting environments.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Ansar Hussain ](https://profiles.wordpress.org/ansar317/)

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

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

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

## 變更記錄

#### 1.0.0

 * Initial release.
 * Export any single installed theme as a ZIP file.
 * Export the active theme with one click.
 * Export all installed themes into a single `all-themes.zip` archive.
 * Native admin modal with search, screenshots, and theme metadata.
 * Secure, nonce-protected, administrator-only AJAX export workflow.
 * Temporary ZIP files are streamed and automatically deleted after download.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **1 個月前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.2**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/themepackager/)
 * 標籤:
 * [backup](https://tw.wordpress.org/plugins/tags/backup/)[developer-tools](https://tw.wordpress.org/plugins/tags/developer-tools/)
   [export](https://tw.wordpress.org/plugins/tags/export/)[theme](https://tw.wordpress.org/plugins/tags/theme/)
   [zip](https://tw.wordpress.org/plugins/tags/zip/)
 *  [進階檢視](https://tw.wordpress.org/plugins/themepackager/advanced/)

## 評分

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

[撰寫評分](https://wordpress.org/support/plugin/themepackager/reviews/#new-post)

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

## 參與者

 *   [ Ansar Hussain ](https://profiles.wordpress.org/ansar317/)

## 技術支援

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

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