Title: NDT Duplicate
Author: Tony Nguyen
Published: <strong>10 mai 2025</strong>
Last modified: 10 août 2025

---

Recherche d’extensions

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

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

[Télécharger](https://downloads.wordpress.org/plugin/ndt-duplicate.1.0.2.zip)

 * [Détails](https://fr.wordpress.org/plugins/ndt-duplicate/#description)
 * [Avis](https://fr.wordpress.org/plugins/ndt-duplicate/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/ndt-duplicate/#installation)
 * [Développement](https://fr.wordpress.org/plugins/ndt-duplicate/#developers)

 [Support](https://wordpress.org/support/plugin/ndt-duplicate/)

## Description

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.

## Captures d’écrans

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

## Installation

 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.

## FAQ

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

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« NDT Duplicate » est un logiciel libre. Les personnes suivantes ont contribué à
cette extension.

Contributeurs

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

[Traduisez « NDT Duplicate » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/ndt-duplicate)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/ndt-duplicate/), 
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/ndt-duplicate/), ou s’inscrire
au [journal de développement](https://plugins.trac.wordpress.org/log/ndt-duplicate/)
par [RSS](https://plugins.trac.wordpress.org/log/ndt-duplicate/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

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

## Méta

 *  Version **1.0.2**
 *  Dernière mise à jour **il y a 10 mois**
 *  Installations actives **Moins de 10**
 *  Version de WordPress ** 4.9 ou plus **
 *  Testé jusqu’à **6.8.5**
 *  Version de PHP ** 7.0 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/ndt-duplicate/)
 * Étiquettes
 * [clone](https://fr.wordpress.org/plugins/tags/clone/)[custom post type](https://fr.wordpress.org/plugins/tags/custom-post-type/)
   [duplicate](https://fr.wordpress.org/plugins/tags/duplicate/)[page](https://fr.wordpress.org/plugins/tags/page/)
   [post](https://fr.wordpress.org/plugins/tags/post/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/ndt-duplicate/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

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

[Voir tous les avis](https://wordpress.org/support/plugin/ndt-duplicate/reviews/)

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/ndt-duplicate/)