WP Manifestindependent plugin directory
manifest / content / quick-clone

Quick Clone

One-click duplication utility for WordPress posts, pages, and custom post types

by Nitish Verma · github.com/imnitishverma/quick-clone · 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/imnitishverma/quick-clone/archive/refs/heads/main.zip

🚀 Quick Clone Wordpress Plugin

A simple, secure, one-click duplication utility for WordPress Posts, Pages, and Custom Post Types.

Developed by: Nitish Verma (https://help.nitishverma.com/)

🎯 Overview

The Quick Clone plugin significantly boosts content creation productivity by enabling users to create a perfect copy of any post type instantly. It adheres strictly to WordPress coding and security standards.


✨ Features

  • Instant Duplication: Clones Posts, Pages, and all registered Custom Post Types via a single click in the list view.
  • Comprehensive Cloning: Copies content, featured image, post status (to Draft), taxonomies (Categories/Tags), and all associated Post Meta (Custom Fields).
  • Security Focused: Utilizes WordPress Nonce verification (wp_verify_nonce) and capability checks (current_user_can) to ensure secure operation.
  • Lightweight: No separate admin screens or complex settings—it works directly via WordPress actions and filters.

🛠️ Installation and Setup (For Developers)

This repository contains the source code for the Quick Clone plugin.

1. Local Development Setup

  1. Clone the Repository:
    git clone https://github.com/imnitishverma/quick-clone.git
  2. Move to Plugins: Place the cloned quick-clone folder into your local WordPress installation's wp-content/plugins/ directory.
  3. Activate: Activate the plugin through the WordPress admin dashboard.

2. Usage

Once activated, navigate to the Posts or Pages list. Hover over any entry to reveal the "Duplicate" link. Clicking this link creates a new draft copy and redirects the user to the edit screen.

🔄 Contributing to Quick Clone

We welcome contributions from the community!

Reporting Issues

If you find a bug or have a feature suggestion, please open a new issue on the [Issues] tab of this repository.

Pull Requests

  1. Fork the repository.
  2. Create a new branch for your feature or fix (e.g., feature/add-settings-page or fix/nonce-issue).
  3. Implement your changes, adhering to the [WordPress Coding Standards].
  4. Test your changes thoroughly.
  5. Commit your changes with clear, descriptive messages (using prefixes like feat: or fix:).
  6. Submit a Pull Request to the main branch of this repository.

Coding Standards

All PHP code must adhere to the [WordPress PHP Coding Standards] and utilize proper prefixing (qc_) for all functions, classes, and variables to prevent conflicts.


📝 Changelog

1.0.0

  • Initial Stable Release.
  • Core duplication logic for Posts, Pages, and Custom Post Types.
  • Support for cloning all Post Meta and Taxonomies.
  • Implementation of wp_safe_redirect and input sanitization (sanitize_key) for security.

📜 License

This plugin is released under the GNU General Public License v2.0 or later.

  • See the LICENSE file for more details.