Title: NDT Duplicate
Author: Tony Nguyen
Published: <strong>2025 年 5 月 10 日</strong>
Last modified: 2025 年 8 月 10 日

---

搜尋外掛

![](https://ps.w.org/ndt-duplicate/assets/banner-772x250.jpg?rev=3291070)

![](https://ps.w.org/ndt-duplicate/assets/icon.svg?rev=3290974)

# NDT Duplicate

 由 [Tony Nguyen](https://profiles.wordpress.org/nguyenduytan/) 開發

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

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

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

## 外掛說明

NDT Duplicate is a simple yet powerful plugin that enables administrators to clone
posts, pages, reusable blocks, or custom post types with just one click. It adds
a “Clone” (or custom text) link to the row actions in the WordPress admin, making
content duplication fast and efficient.

Key features include:

 * Adds a “Clone” link to row actions for selected post types.
 * Supports duplicating posts, pages, reusable blocks, and custom post types.
 * Administrators can enable/disable the plugin and configure settings.
 * Customizable “Allowed Types” (Page, Post, Blocks, Custom Type).
 * Restrict cloning to specific user roles (e.g., Administrators).
 * Option to set custom text for the clone link (default: “Clone”).
 * Choose whether cloned content is saved as a Draft or Published immediately.

Developed and maintained by Tony Nguyễn, this plugin is designed to streamline content
management workflows and will be supported as long as necessary.

### Support

For support, please contact me via:
 – Email: admin@ndtan.net – Telegram: @nguyenduytan–
Website: https://nguyenduytan.com

### License

This plugin is licensed under GPLv2 or later.

## 螢幕擷圖

 * [[
 * Admin settings page under **NDT Solutions > NDT Duplicate**.

## 安裝方式

 1. Upload the `ndt-duplicate` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to **NDT Solutions > NDT Duplicate** in the admin dashboard to configure settings.

## 常見問題集

### What does this plugin do?

NDT Duplicate adds a “Clone” link to the row actions in the WordPress admin, allowing
you to duplicate posts, pages, or custom post types with customizable settings.

### How do I configure the plugin?

After activation, go to **NDT Solutions > NDT Duplicate** in your WordPress admin
dashboard. You can enable/disable the plugin, select allowed post types, restrict
access to specific user roles, set the clone link text, and choose the status of
cloned content.

### Can I restrict who can use the clone feature?

Yes, in the settings under “Allowed Groups,” you can select which user roles (e.
g., Administrator, Editor) are permitted to see and use the “Clone” link.

### What happens after I clone a post?

The cloned post will be saved as either a “Draft” or “Published” based on your selection
in the “After Clone” setting. The title will have “(Clone)” appended, and all content,
meta, and taxonomies will be copied.

### Why don’t I see the “Clone” link?

Ensure the plugin is enabled and at least one “Allowed Type” is selected. Also, 
check if your user role is included in “Allowed Groups” in the settings.

### Does it work with custom post types?

Yes, if you enable the “Custom Type” option in “Allowed Types,” the plugin will 
add the “Clone” link to all custom post types except built-in ones like posts, pages,
and reusable blocks.

### How can I support the developer?

You can support the developer by donating via the PayPal.me link provided in the
plugin’s admin settings page under “About the Author”.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Tony Nguyen ](https://profiles.wordpress.org/nguyenduytan/)

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

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

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

## 變更記錄

#### 1.0.2

 * Fixed redirect issue where cloning redirected to incorrect URL (e.g., edit.php#
   038;action=edit) instead of edit page.
 * Added Elementor-specific cache clearing for cloned templates.
 * Excluded sensitive meta keys (_edit_lock, _edit_last) from duplication.
 * Added debug log for redirect URL to aid troubleshooting.

#### 1.0.1

 * Fixed clone link not appearing for non-public post types with UI, such as reusable
   blocks (wp_block).
 * Optimized post type detection to use ‘show_ui’ => true for broader compatibility
   with custom post types.
 * Ensured correct redirect for all supported post types after duplication.
 * Updated “Tested up to” to WordPress 6.8.2.

#### 1.0.0

 * Initial release with full functionality:
    - Enable/disable plugin toggle.
    - Configurable allowed post types and user roles.
    - Customizable clone link text and post status after cloning.
    - Added “Clone” link to row actions in post/page lists.
 * Standardized admin menu under NDT Solutions for ecosystem compatibility.
 * Removed external SweetAlert2 and Google Fonts to comply with WordPress.org guidelines.
 * Improved security with proper escaping and sanitization.
 * Added full translation support with .pot and Vietnamese .po files.
 * Fixed readme.txt header formatting to comply with WordPress.org requirements.

## 中繼資料

 *  版本 **1.0.2**
 *  最後更新 **10 個月前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 4.9 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/ndt-duplicate/)
 * 標籤:
 * [clone](https://tw.wordpress.org/plugins/tags/clone/)[custom post type](https://tw.wordpress.org/plugins/tags/custom-post-type/)
   [duplicate](https://tw.wordpress.org/plugins/tags/duplicate/)[page](https://tw.wordpress.org/plugins/tags/page/)
   [post](https://tw.wordpress.org/plugins/tags/post/)
 *  [進階檢視](https://tw.wordpress.org/plugins/ndt-duplicate/advanced/)

## 評分

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

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

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

## 參與者

 *   [ Tony Nguyen ](https://profiles.wordpress.org/nguyenduytan/)

## 技術支援

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

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