=== Duplicate All === Contributors: informigados, alexbrito Tags: duplicate post, clone page, elementor, copy, duplicate Requires at least: 5.0 Tested up to: 6.9 Stable tag: 1.2.0 Requires PHP: 7.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html The easiest way to duplicate pages, posts, and custom post types with a single click. Fully compatible with page builders like Elementor. == Description == Duplicate All provides a simple and straightforward way to clone your posts, pages, or any custom post type with just a single click. Tired of manually copying and pasting content, especially on complex pages built with Elementor or other page builders? With Duplicate All, a "Duplicate All" link will appear in your post/page listings. Clicking it instantly creates a perfect copy as a draft (or any other status you choose), preserving all content, metadata, and page builder settings. **Key Features:** * **One-Click Duplication:** Clone any post, page, or custom post type instantly. * **True Page Builder Compatibility:** Works flawlessly with Elementor. It properly clones all data and ensures the duplicated page is immediately recognized as an Elementor page, no extra steps needed. * **Lightweight and Fast:** No unnecessary code. Built for performance. * **Highly Customizable:** From the settings page (Settings > Duplicate All), you can: * Enable or disable duplication for specific post types. * Customize the suffix added to the title of the duplicated item (e.g., "(Copy)"). * Choose the status of the new item (Draft, Pending, Private, or Publish). * **Fully Translatable:** Ready for internationalization. == Installation == 1. Upload the `informigados-duplicate-all` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. (Optional) Go to `Settings > Duplicate All` to configure the plugin. 4. Navigate to any post or page list. You will now see a "Duplicate All" link when you hover over an item. == Frequently Asked Questions == = Does it work with Elementor, Beaver Builder, Divi, etc.? = Yes. This version includes a definitive fix for Elementor. It works by cloning all the necessary metadata first (including the flags that mark a page as being "built with Elementor") and then triggers Elementor's CSS regeneration. This ensures a perfect clone that is immediately editable with Elementor. The same robust metadata cloning method works well for other page builders. = Where are the settings? = You can find the settings page under `Settings > Duplicate All` in your WordPress admin menu. == Screenshots == 1. The "Duplicate All" link in action on the post list. 2. The simple and clean settings page. == Changelog == = 1.2.0 (2026-01-23) = * New: Added Bulk Actions to duplicate multiple items at once. * New: Added "Duplicate This" button to the Admin Bar for quick access. * New: Added "Redirect Behavior" setting (Stay on List vs. Go to Edit Screen). * Improvement: Admin Bar duplication now automatically redirects to the edit screen. * Improvement: Premium admin UI refresh with brand palette, responsive layout, and improved notices. = 1.1.0 (2026-01-22) = * Fix: Replaced wp_redirect with wp_safe_redirect to improve security. * Update: Tested up to WordPress 6.9. = 1.0.0 (2025-08-19) = * Initial release.