Makitweb Duplicate
Lightweight WordPress plugin to duplicate posts and pages with one click
by Yogesh Singh · github.com/makitweb/makitweb-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/makitweb/makitweb-duplicate/archive/refs/heads/main.zipA lightweight WordPress plugin that adds a one-click Duplicate action to posts and pages in the WordPress admin — no settings page, no bloat.
Watch How It Was Built
▶️ I Built a WordPress Duplicate Post Plugin with Claude Code
Features
- Adds a Duplicate link to every row in Posts and Pages
- Creates a new draft — title, content, excerpt, featured image, and all post meta copied over
- Redirects you straight to the new draft's edit screen
- Original post is never modified
- Per-post nonce verification (CSRF protection)
- Capability check (
edit_posts) before any action - No database tables, no options, no admin menu — under 80 lines of PHP
Installation
- Download or clone this repository
- Copy the
makitweb-duplicatefolder intowp-content/plugins/ - Go to Plugins → Installed Plugins in your WordPress admin
- Activate Makitweb Duplicate
Usage
- Go to Posts or Pages in the WordPress admin
- Hover over any row — you'll see a Duplicate link appear alongside Edit, Quick Edit, and Trash
- Click Duplicate — a new draft is created and you're taken straight to the editor
What Gets Copied
| Item | Copied |
|---|---|
| Title | ✅ |
| Content | ✅ |
| Excerpt | ✅ |
| Featured image | ✅ |
| Custom fields / post meta | ✅ |
| Categories & tags | ❌ (set fresh on the duplicate) |
| Post status | Draft (always) |
| Author | Current logged-in user |
Requirements
- WordPress 5.0+
- PHP 7.4+
License
GPL-2.0+ — see LICENSE
Built by Makitweb
