WP Manifestindependent plugin directory
manifest / content / alox-simple-duplicate

Alox Simple Duplicate

A simple WordPress plugin to duplicate posts, pages, and public custom post types into a new draft with taxonomies, meta, and featured image.

by Alox & Co · github.com/aloxandco/alox-simple-duplicate · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/aloxandco/alox-simple-duplicate/archive/refs/heads/main.zip

A simple, safe WordPress plugin to duplicate posts, pages, and public custom post types.


📚 Documentation

For full details, usage guides, and developer examples, visit the
👉 Alox & Co Codex


✨ Features

✅ One-Click Duplication Add a “Duplicate” link under each post or page in your WordPress dashboard.

✅ Bulk Duplicate Select multiple posts or pages and duplicate them all at once using the bulk actions dropdown.

✅ Preserves Key Content Copies taxonomies, featured images, and custom meta fields safely.

✅ Respects Permissions Only users with proper capabilities (like Editors or Admins) can duplicate posts.

✅ Lightweight & Secure No extra tables or settings. No external API calls. Follows WordPress security and coding standards.

✅ Translation Ready Includes a .pot file and full internationalization support (alox-simply-duplicate text domain).


🚀 Installation

Download the ZIP file from our Codex. In your WordPress dashboard, go to Plugins → Add New → Upload Plugin. Upload alox-simple-duplicate.zip. Activate it. You’re ready to go! Alternatively, place the folder manually into /wp-content/plugins/ and activate via the dashboard.

🔧 Filters & Hooks

Alox Simply Duplicate is filterable and extensible. You can modify or extend behavior using built-in hooks:

/**
 * Filter excluded post types.
 */
add_filter( 'alox_sd_excluded_post_types', function( $excluded ) {
    $excluded[] = 'my_custom_type';
    return $excluded;
});

/**
 * Filter duplicated post arguments.
 */
add_filter( 'alox_sd_new_post_args', function( $args, $original ) {
    $args['post_status'] = 'pending';
    return $args;
}, 10, 2 );

Other available hooks:

alox_sd_skip_meta_keys alox_sd_skip_private_meta alox_sd_after_duplicate Perfect for developers who want to control which metadata or post types are duplicated.

📦 Requirements

WordPress 5.0+

PHP 7.4+

📜 License

Released under the GPL-2.0-or-later

💡 About

Built with ❤️ by Alox & Co
to keep WordPress workflows simple.