Title: Export Themes
Author: Sergio Milardovich
Published: <strong>اپریل 26, 2011</strong>
Last modified: سپتامبر 1, 2026

---

جستجوی افزونه‌ها

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

![](https://ps.w.org/wp-clone-template/assets/icon.svg?rev=3675233)

# Export Themes

 توسط [Sergio Milardovich](https://profiles.wordpress.org/milardovich/)

[دانلود](https://downloads.wordpress.org/plugin/wp-clone-template.3.0.1.zip)

 * [جزئیات](https://fa-af.wordpress.org/plugins/wp-clone-template/#description)
 * [نقد و بررسی‌ها](https://fa-af.wordpress.org/plugins/wp-clone-template/#reviews)
 *  [نصب](https://fa-af.wordpress.org/plugins/wp-clone-template/#installation)
 * [توسعه](https://fa-af.wordpress.org/plugins/wp-clone-template/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/wp-clone-template/)

## توضیحات

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”.

## عکس‌های صفحه

[⌊"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.

[[

## نصب

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

## سوالات متداول

### 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.

## نقد و بررسی‌ها

![](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, 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, 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, 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, 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, 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, 2018

Works Great!!

 [ خواندن تمامی 13 نقد و بررسی‌ ](https://wordpress.org/support/plugin/wp-clone-template/reviews/)

## توسعه دهندگان و همکاران

“Export Themes” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

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

[ترجمه “Export Themes” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/wp-clone-template)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/wp-clone-template/),
را بررسی کنید [مخزن SVN](https://plugins.svn.wordpress.org/wp-clone-template/), 
یا مشترک شوید [گزارش توسعه](https://plugins.trac.wordpress.org/log/wp-clone-template/)
توسط [RSS](https://plugins.trac.wordpress.org/log/wp-clone-template/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 3.0.1

 * Update the plugin URI to point at the plugin landing page.

#### 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.

## اطلاعات

 *  Version **3.0.1**
 *  Last updated **1 ماه پیش**
 *  Active installations **2,000+**
 *  WordPress version ** 6.0 یا بالاتر **
 *  Tested up to **7.0.6**
 *  PHP version ** 7.4 یا بالاتر **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-clone-template/)
 * Tags
 * [backup](https://fa-af.wordpress.org/plugins/tags/backup/)[clone](https://fa-af.wordpress.org/plugins/tags/clone/)
   [export](https://fa-af.wordpress.org/plugins/tags/export/)[exporter](https://fa-af.wordpress.org/plugins/tags/exporter/)
   [themes](https://fa-af.wordpress.org/plugins/tags/themes/)
 *  [نمایش پیشرفته](https://fa-af.wordpress.org/plugins/wp-clone-template/advanced/)

## امتیازها

 4.9 out of 5 stars.

 *  [  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)

[See all reviews](https://wordpress.org/support/plugin/wp-clone-template/reviews/)

## مشارکت کنندگان

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

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/wp-clone-template/)