Title: Export Themes
Author: Sergio Milardovich
Published: <strong>26 Tháng 4, 2011</strong>
Last modified: 19 Tháng 8, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/wp-clone-template/assets/banner-772x250.png?rev=1108529)

![](https://ps.w.org/wp-clone-template/assets/icon-256x256.png?rev=1108526)

# Export Themes

 Bởi [Sergio Milardovich](https://profiles.wordpress.org/milardovich/)

[Tải về](https://downloads.wordpress.org/plugin/wp-clone-template.3.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/wp-clone-template/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/wp-clone-template/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/wp-clone-template/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/wp-clone-template/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/wp-clone-template/)

## Mô tả

With this plugin you can export any installed theme as a `.zip` file and then install
that
 same theme on another server through the normal “Upload Theme” screen.

### Usage

Go to Appearance > Export, pick the theme you want and press “Export”. Your browser
downloads
 a `.zip` file. On the other site, go to Appearance > Themes > Add New
> Upload Theme, choose that file and press “Install Now”.

## Ảnh màn hình

[⌊"Export" option in the Appearance menu.⌉⌊"Export" option in the Appearance menu
.⌉[

“Export” option in the Appearance menu.

[⌊The export screen.⌉⌊The export screen.⌉[

The export screen.

[[

## Cài đặt

 1. Install and activate the plugin through the ‘Plugins’ menu in WordPress.
 2. A new “Export” item appears under the “Appearance” menu.

## Hỏi đáp

### Who can export a theme?

Users who can install themes (administrators on a single site, super admins on multisite).

An export contains the theme’s full PHP source, so the plugin no longer settles 
for the weaker `manage_options` check it used up to 2.12. You can change this with
the wpct_capability filter.

### Are development files included?

.git, `.svn`, `.hg`, `node_modules` and `.DS_Store` are left out. Use the
 wpct_should_skip_file
filter to change that.

## Đánh giá

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

### 󠀁[Sadly – It throws a deprecation error](https://wordpress.org/support/topic/sadly-it-throws-a-deprecation-error/)󠁿

 [ajaxStardust](https://profiles.wordpress.org/ajaxstardust/) 3 Tháng 5, 2023

This plugin throws error:Deprecated: define(): Declaration of case-insensitive constants
is deprecated in /var/www/html/wp62/wp-content/plugins/wp-clone-template/main.php
on line 10 that’s PHP 7.4 on Apache2

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

### 󠀁[Perfect Works – my first review](https://wordpress.org/support/topic/perfect-works-my-first-review/)󠁿

 [dritpark](https://profiles.wordpress.org/pwdsumon/) 25 Tháng 4, 2023

Perfect Works Really Awesome 🙂

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

### 󠀁[After use, deactivate.](https://wordpress.org/support/topic/after-use-deactivate/)󠁿

 [paulmsummitt](https://profiles.wordpress.org/paulmsummitt/) 12 Tháng 3, 2021

The plug-in works with WP 5.7 but make sure you deactivate after you use it otherwise
you will have issues with curl and a couple of other things that will impact the
performance of your site.

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

### 󠀁[musthave plugin](https://wordpress.org/support/topic/musthave-plugin-2/)󠁿

 [tajmohamed30](https://profiles.wordpress.org/tajmohamed30/) 10 Tháng 8, 2020

thank you so much

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

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-4330/)󠁿

 [Jan444](https://profiles.wordpress.org/ign2009/) 20 Tháng 10, 2018

Excellent, super fast and simple. Should be on the core! My 5.

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

### 󠀁[Works Great!!](https://wordpress.org/support/topic/works-great-4746/)󠁿

 [Stefano Monteiro](https://profiles.wordpress.org/stemon/) 28 Tháng 2, 2018

Works Great!!

 [ Đọc tất cả 13 đánh giá ](https://wordpress.org/support/plugin/wp-clone-template/reviews/)

## Người đóng góp & Lập trình viên

“Export Themes” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Sergio Milardovich ](https://profiles.wordpress.org/milardovich/)

[Dịch “Export Themes” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/wp-clone-template)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/wp-clone-template/), check
out [SVN repository](https://plugins.svn.wordpress.org/wp-clone-template/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/wp-clone-template/)
qua [RSS](https://plugins.trac.wordpress.org/log/wp-clone-template/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 3.0

 * Compatible with WordPress 7.0 and PHP 8.
 * Fixed: the plugin could not be activated at all on PHP 8. The activation hook
   pointed at
    install_wpct, but the function is called `wpct_install_wpct`; an 
   invalid callback is a fatal TypeError since PHP 8.
 * Fixed: exporting died with “Path cannot be empty”. The bundled PclZip library
   still used a
    PHP 4 style constructor, which PHP 8 no longer treats as a constructor,
   so the archive name was never set. Exports now use ZipArchive, and fall back 
   to the maintained copy of PclZip that ships with WordPress.
 * Fixed: removed the third argument of `define()`, dropped in PHP 8.
 * Security: the export form had no nonce and no capability check on submit, so 
   any logged-in
    visitor could be made to trigger an export through a crafted request.
   Both are enforced now.
 * Security: the requested theme name was pasted straight into a filesystem path.
   It is now
    validated against the list of installed themes.
 * Security: archives were written into the plugin’s own folder and served by redirect,
   which
    left every export downloadable by anyone who guessed the URL. They are
   now built outside the web root, streamed to the browser and deleted immediately.
   Activating this version also deletes any archive left behind by an older one.
 * Removed: `session_start()` and `ob_start()` on every request, which broke page
   caching and
    emitted notices.
 * Removed: the bundled 5,700 line copy of PclZip.
 * Fixed: the theme list no longer comes from a hand-rolled `readdir()` on a path
   guessed with
    substr($_SERVER[‘SCRIPT_FILENAME’], 0, -19). It uses `wp_get_themes()`,
   so themes in a custom theme root are listed too, with their real names.
 * Fixed: all output is escaped, and the form no longer relies on PHP short open
   tags.
 * Added: proper internationalisation with the `wp-clone-template` text domain.
 * Added: `wpct_capability` and `wpct_should_skip_file` filters.

#### 2.12

 * Typo fixed

#### 2.1

 * Warning fixed
 * Language functions added

#### 2.0

 * Security bug fixed
 * Old zip files are automatically deleted
 * Better session management
 * 100% WP 4.0 Compatible

#### 1.5

 * Permisson problems fixed.
 * Warnings added.
 * Directory structure changed.

## Meta

 *  Phiên bản **3.0**
 *  Cập nhật lần cuối **1 tuần trước**
 *  Số lượt cài đặt **2.000+**
 *  Phiên bản WordPress ** 6.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0.4**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/wp-clone-template/)
 * Thẻ
 * [backup](https://vi.wordpress.org/plugins/tags/backup/)[clone](https://vi.wordpress.org/plugins/tags/clone/)
   [export](https://vi.wordpress.org/plugins/tags/export/)[exporter](https://vi.wordpress.org/plugins/tags/exporter/)
   [themes](https://vi.wordpress.org/plugins/tags/themes/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/wp-clone-template/advanced/)

## Đánh giá

 4.9 trên 5 sao.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/wp-clone-template/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/wp-clone-template/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-clone-template/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-clone-template/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-clone-template/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-clone-template/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/wp-clone-template/reviews/)

## Những người đóng góp

 *   [ Sergio Milardovich ](https://profiles.wordpress.org/milardovich/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/wp-clone-template/)