Skip to content

plugpress-io/copycat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

=== Copycat ===
Contributors: plugpress
Tags: duplicate, clone, copy, post, page
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.0
Stable tag: 1.0.0
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Simple and lightweight plugin for duplicating posts, pages and custom post types with a single click.

== Description ==

Copycat is a simple, lightweight plugin that allows you to duplicate any post, page, or custom post type with just one click. Perfect for creating similar content quickly without manually copying and pasting.

### Features

* **One-Click Duplication** - Duplicate any content with a single click
* **All Post Types** - Works with posts, pages, and custom post types
* **Complete Copy** - Duplicates content, meta data, taxonomies, and terms
* **Secure** - Built with WordPress security best practices
* ⚡ **Lightweight** - No bloat, just essential functionality


== Installation ==

### Automatic Installation

1. Log in to your WordPress admin panel
2. Navigate to Plugins > Add New
3. Search for "Copycat"
4. Click "Install Now" and then "Activate"

### Manual Installation

1. Download the plugin ZIP file
2. Log in to your WordPress admin panel
3. Navigate to Plugins > Add New
4. Click "Upload Plugin" at the top
5. Choose the ZIP file and click "Install Now"
6. Click "Activate Plugin"

### After Activation

Once activated, you'll see a "Duplicate" link on all your posts, pages, and custom post types in the admin list view. No configuration needed!

== Frequently Asked Questions ==

= Does this work with custom post types? =

Yes! Copycat works with all public custom post types automatically.

= What gets duplicated? =

Everything! The duplicate includes the post content, title, excerpt, all custom fields (post meta), taxonomies (categories, tags), and featured images.

= Can I customize the duplicate title? =

Yes! Use the `copycat_duplicate_title` filter to customize how duplicate titles are generated.

= Will this work with page builders? =

Yes! Copycat duplicates all post meta, so it works perfectly with page builders like Elementor, Beaver Builder, Divi, WPBakery, and others.

= Can I exclude certain meta fields from duplication? =

Yes! Use the `copycat_excluded_meta_keys` filter to specify meta keys that should not be duplicated.

= Is it translation ready? =

Yes! Copycat is fully localized and ready for translation. WordPress automatically handles translations for WordPress.org hosted plugins.

= Does it work with WooCommerce products? =

Yes! Copycat can duplicate WooCommerce products and all their associated meta data.

== Screenshots ==

1. Duplicate link in the post list view
2. Duplicate link in the page list view
3. Duplicated post opened in the editor

== Changelog ==

= 1.0.0 - 2024-12-01 =
* Initial release
* One-click post/page duplication
* Support for all post types
* Complete meta data and taxonomy duplication
* Security enhancements
* Developer hooks and filters
* Translation ready

== Upgrade Notice ==

= 1.0.0 =
Initial release of Copycat - The simplest way to duplicate posts and pages in WordPress!

== Developer Documentation ==

### Filters

**Modify duplicate post arguments:**
```php
add_filter('copycat_duplicate_post_args', function($args, $post) {
    // Modify $args as needed
    return $args;
}, 10, 2);
```

**Customize duplicate title:**
```php
add_filter('copycat_duplicate_title', function($new_title, $original_title) {
    return $original_title . ' - Draft Copy';
}, 10, 2);
```

**Exclude meta keys:**
```php
add_filter('copycat_excluded_meta_keys', function($excluded) {
    $excluded[] = 'my_custom_meta';
    return $excluded;
});
```

### Actions

**After post duplication:**
```php
add_action('copycat_post_duplicated', function($new_post_id, $original_post_id, $post) {
    // Do something after duplication
}, 10, 3);
```

== Support ==

For support, feature requests, or bug reports, please visit [https://plugpress.io](https://plugpress.io)

== Privacy Policy ==

Copycat does not collect, store, or share any user data. It only duplicates content within your WordPress installation.

== Translations ==

WordPress automatically handles translations for plugins hosted on WordPress.org. If you'd like to contribute translations, please visit [translate.wordpress.org](https://translate.wordpress.org/).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages