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

Duplicate Theme

外掛說明

Ever wanted to duplicate a theme, or create a child theme, quickly and easily from the safety and security of your WordPress Admin? Look no further! With Duplicate Theme you can… duplicate a theme and create child themes! All while in your WordPress Admin. Choose the theme to copy, provide a name and voila! Have all the joy of the original theme, but in a new theme! No more messing around with FTP and online File Editors to duplicate themes. Why waste time downloading, uploading and editing style.css? Just install this plugin and BAM! you can duplicate a theme or create a child theme!

螢幕擷圖

  • Appearance -> Duplicate Theme
  • Network -> Themes -> Duplicate Theme

安裝方式

  1. Upload duplicate-theme folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Appearance (‘Themes’ in Network) -> Duplicate Theme

常見問題集

Installation Instructions
  1. Upload duplicate-theme folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Appearance (‘Themes’ in Network) -> Duplicate Theme
Some items are not working!

Check through the duplicated theme to see if there are any hardcoded references to the old them directory name. There is a chance that some themes will use hardcoded references to directory locations using the old theme name. Update those references to the new theme names.

Some items are still not working in the duplicated theme

Do a search through the WordPress options table in the database. There are probably some static references to the old theme name that have to be updated.

使用者評論

2016 年 9 月 3 日
It does exactly what should do. Clone / Copy theme to avoid problems from future original theme update before checking them. I remembered this plugin from some time ago, but I wasn't able to find it here by searching in plugin directory. I found it again thanks some article about this. Great work and thank you again
2016 年 9 月 3 日
While your plugin does successfully create a "child theme", it seems to DUPLICATE *every* directory and file from the parent, instead of merely creating a new STYLE.CSS in the child's root directory with one simple reference to utilize the parent theme's STYLE.CSS. My point / concern is, especially for those who may be unfamiliar, that the intrinsic behaviour of WordPress is to first utilize files that exist in the CHILD theme directory .. regardless of the same filename existing in the Parent theme directory. Hence, once a Theme core/parent gets updated, one's WordPress site will continue to only load the now-antiquated files in the Child -- files that were copied at an earlier timeframe using this plugin. In summary, once a Child theme is created using this plugin, all future updates to the theme's parent will be ignored. Proof is in this article: https://wordpress.org/support/topic/child-themes-and-php-pages
閱讀全部 10 則使用者評論

參與者及開發者

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

將 Duplicate Theme 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.1.6

  • Small security update
  • Improve function for theme list loop

0.1.4

  • Using interal WP functions over PHP predefined variables

0.1.3

  • Changed Theme naming convention

0.0.3

  • Child Theme creator

0.0.2

  • Add Network Activate to admin page

0.0.1

  • Initial release