=== Wondalizer Post Importer === Contributors: dealazer Tags: importer, zip, json, kimi, content Requires at least: 5.8 Tested up to: 6.7 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPL-2.0-or-later Import Kimi-improved posts from a ZIP (importer.json + images). Works on any WordPress site. == Description == Wondalizer Post Importer reads a ZIP archive containing an `importer.json` file and optional JPG/PNG/WebP images, then finds the target post **by slug** — so the same ZIP works on dealazer.com and any other site. For every matched post it: * saves the old content as a private "(Backup …)" draft * replaces title and content with the improved version * assigns the category (reuses the existing one; creates it only when `"new_category": true`) * sets up to 30 tags (each tag should be exactly two words) * imports images into the Media Library, replaces `{{image:filename}}` tokens in the content, and sets the featured image Two ways to import: 1. **Tools → Post Importer** — bulk upload, processes every entry in the ZIP. 2. **Classic editor sidebar box** — upload a ZIP straight from the post edit screen; only the entry matching that post is applied, the old content is saved as a draft, the page reloads when done. == importer.json format == { "site": "dealazer.com", "posts": [ { "slug": "let-freedom-ring", "title": "Improved, click-worthy title (emojis allowed)", "excerpt": "Short summary for SEO/social.", "content_html": "
...
Quote
{{image:photo.jpg}}
", "post_type": "post", "category": "Freedom", "new_category": false, "tags": ["two words", "another tag"], "featured_image": "photo.jpg", "images": { "photo.jpg": "images/photo.jpg" }, "status": "publish" } ] } Notes: - `slug` is the only required field; it identifies the post on ANY site. - `{{image:filename}}` tokens inside content_html are replaced with the imported image. - Quotes: Kimi should insert a blockquote every 3–4 paragraphs when improving a post. - Tags: generate ~30 hot two-word tags from the post type and content. == Reusable Kimi prompt == Send this to Kimi together with the link of the post you want improved: --- Improve my WordPress post at: https://YOUR-SITE.com/YOUR-SLUG/ Rules: 1. Keep the soul and voice of the original content — do not rewrite the message, improve the writing, flow, and length (aim for a rich, well-structured post). 2. Give it a new, click-worthy, SEO-friendly title that includes an emoji. 3. Use emojis naturally through the post (a few per section, not spam). 4. Insert an inspirational or thematic blockquote every 3–4 paragraphs. 5. Suggest one category name (prefer the category already used on the site; only propose a new one if nothing fits — mark it clearly). 6. Generate ~30 hot tags, each tag exactly TWO words, based on the post type and its content. 7. Suggest 1–3 JPG images that would fit (describe them, e.g. "photo.jpg — a flag waving at sunrise"). 8. Output ONLY a ZIP-ready package: importer.json following the Wondalizer Post Importer format (slug = YOUR-SLUG), plus the JPG images, so I can upload the ZIP straight to my importer. --- == Installation == Upload the plugin ZIP via Plugins → Add New → Upload Plugin, or copy the folder to wp-content/plugins/, then activate. == Changelog == = 1.0.0 = * Initial release: ZIP + importer.json import, slug matching, category reuse, 30 two-word tags, image sideload, draft backup, classic editor uploader with auto reload.