=== Duplicate Post & Page ===
Contributors: ryhowa, samsonovteamwork
Tags: duplicate, bulk, pages, posts, clone
Requires at least: 5.0
Tested up to: 6.8.3
Requires PHP: 7.4
Stable tag: 1.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Quickly duplicate WordPress posts and pages in bulk. Change titles and slugs on the fly to generate unique content variations.

== Description ==

Duplicate Post & Page is a lightweight utility plugin that helps site admins create multiple variations of an existing page or post in just a few clicks.

Unlike single-duplicate tools, this plugin allows **bulk duplication with custom titles and slugs**. Perfect for:

- Location pages (e.g. "Austin", "San Antonio", "Dallas")
- Service variations (e.g. "Kitchen Remodeling", "Bathroom Remodeling")
- Content templates that need to be reused with different names

### Key features

- Add a "Bulk duplicate" meta box when editing a page or post
- Enter a list of new titles – each line becomes a new duplicate
- Automatically generate slugs based on your titles (editable before saving)
- Option to publish immediately or save as drafts
- Option to rename the featured image based on the new title
- Copies content, metadata, and featured image from the original post
- SEO-friendly: updates Yoast and Rank Math title fields for new posts

The result: dozens of new pages created at once, each with its own title, slug, and optional image rename.

== Installation ==

1. Upload the plugin to the `/wp-content/plugins/` directory or install it through the WordPress admin.
2. Activate the plugin through the **Plugins** menu.
3. Edit any page or post. In the sidebar you’ll see a **Bulk duplicate** meta box.
4. Enter your list of new titles, review the suggested slugs, adjust options, and click **Bulk duplicate**.

== Frequently Asked Questions ==

= Does this work with custom post types? =
Yes. By default the meta box appears on posts and pages, but developers can extend support to custom post types by filtering the meta box arguments.

= Will it copy custom fields and SEO data? =
Yes. Standard post meta is duplicated. Certain protected meta keys are skipped. SEO plugin fields (Yoast and Rank Math) are supported.

= Does it copy featured images? =
Yes. Featured images are copied by default. You can also choose to rename the image file and ALT text to match the new page title.

= Can I undo a bulk duplication? =
No bulk undo is provided. You can trash individual duplicates like any other post or page.

== Screenshots ==

1. Bulk duplicate meta box in the page editor
2. Entering new titles to generate variations
3. Preview of new slugs before creation

== Changelog ==

= 1.1.1 =
* Initial release