=== AddonLogic Site Export & Clone Helper ===
Contributors: snehalpancholi
Tags: export, import, clone, migration, backup
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Export selected WordPress content and settings to a JSON archive, then import on any WordPress site — ideal for cloning, migration, and staging.

== Description ==

Site Export & Clone Helper provides a two-sided admin tool (Tools → Site Export / Clone) that lets you cherry-pick what to export: site settings, menus, widgets, categories, tags, custom taxonomy terms, posts, pages, and users. The result is a single JSON file you can import on any WordPress site running this plugin.

**Export Sections:**

* Site Settings (name, permalink, reading, writing, image sizes)
* Navigation Menus (with all items and theme location assignments)
* Widget Configuration (sidebar assignments and widget data)
* Terms (categories, tags, custom taxonomies)
* Posts (configurable limit and post type)
* Pages
* Users (display name, email, roles — no passwords)

**Import Sections:**

* Site Settings (safe subset — no siteurl/home rewrite)
* Terms
* Navigation Menus
* Posts (insert new; update matching slugs)
* Pages (insert new; update matching slugs)

**Features:**

* Single JSON download — no server-side storage
* Import summary shows created/updated counts per section
* Nonce-verified AJAX with capability checks (`export`, `import`)
* `wp_kses_post` on imported content for XSS safety
* Chunked meta import skips internal WP meta keys

== Installation ==

1. Upload `site-export-clone-helper` to `/wp-content/plugins/`
2. Activate the plugin on source and destination sites
3. On the source: **Tools → Site Export / Clone → Export & Download**
4. On the destination: **Tools → Site Export / Clone → Import**

== Frequently Asked Questions ==

= Does it export media files? =
No. Only database content is exported. Media URLs in post content are preserved as-is; you would need to re-upload media separately.

= Can I export a custom post type? =
Yes — the posts section lets you choose any registered public post type.

= Are passwords exported with users? =
No. WordPress hashed passwords are never included in the export.

== Changelog ==

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release.
