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.
Installation
- Upload the
ndt-duplicate
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- 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”.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“NDT Duplicate” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “NDT Duplicate” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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.