=== Ansico CPT and Taxonomies ===
Contributors: openai
Tags: custom post type, taxonomy, custom fields
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 0.0.0.15
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create and manage custom post types, taxonomies, overrides, and simple custom fields from the WordPress admin.

== Description ==

Ansico CPT and Taxonomies lets administrators:

* Create custom post types
* Create taxonomies
* Define singular and plural labels
* Change slugs
* Choose whether a post type is excluded from search
* Choose whether a post type can be exported
* Enable support for title, editor, featured image, author, and comments
* Attach existing taxonomies, including categories and tags
* Add simple custom fields to managed post types
* Use text, textarea, number, URL, email, date, checkbox, select, and radio custom field types
* Add field descriptions and options for select/radio fields
* Use plugin-provided single and archive templates for managed content
* Import existing registered post types and taxonomies into the plugin as overrides
* Export and import plugin-managed data as JSON
* Import custom post types and taxonomies from CPT UI JSON export

Version 0.0.0.3 improves the admin interface, adds more custom field types, and introduces JSON export/import tools.

== Notes ==

* This is an early version intended as a practical foundation.
* Imported existing registrations are overridden through WordPress registration hooks rather than being re-created from scratch.
* Custom fields added through the plugin are simple meta box fields and not a full field framework.
* Template handling is performed through the template_include filter.
* JSON import can merge records by key or replace all plugin data.
* Tools now include a dedicated importer for pasted CPT UI export JSON.

== Installation ==

1. Upload the plugin zip in WordPress.
2. Activate the plugin.
3. Visit Ansico CPT in the admin menu.
4. Create a new post type or taxonomy, or import an existing one for override.
5. Use the Tools page for JSON export and import.

== Changelog ==

= 0.0.0.15 =
* Added a Tools importer for pasted CPT UI JSON export.
* Can import CPT UI custom post types and taxonomies by key and merge or replace existing plugin records.
* Accepts both CPT UI-style JSON maps and the plugin's own JSON format in the new paste-based importer.

= 0.0.0.7 =
* Fixed a critical activation/runtime error in the late override layer by adding defensive guards around registered object mutation.

= 0.0.0.6 =
* Fixed runtime overrides for existing post types and taxonomies created by other plugins so saved changes are applied to the live registered objects, not only stored in the plugin options.
* Added a late init pass that updates labels, slugs, supports, and taxonomy attachments on already-registered post types and taxonomies.

= 0.0.0.7 =
* Fixed a critical activation/runtime error in the late override layer by adding defensive guards around registered object mutation.

= 0.0.0.6 =
* Existing registered custom post types and taxonomies can now be opened directly from the admin and saved as overrides, including registrations created by other plugins such as CPT UI.
* Updated the admin lists to show existing WordPress post types and taxonomies with direct edit-as-override actions.
* Fixed CPT record normalization so supports, taxonomy attachments, custom fields, and template settings are preserved correctly when editing and saving.

= 0.0.0.3 =
* Added a more structured admin UI with dedicated Tools page.
* Added JSON export and import for managed records and overrides.
* Added more custom field types: select and radio.
* Added field descriptions and options for select/radio fields.
* Added normalization for stored plugin records.

= 0.0.0.2 =
* Added import and override support for existing post types.
* Added import and override support for existing taxonomies.
* Added separate lists for plugin-created and imported/overridden registrations.
* Improved internal data model for managed registrations.

= 0.0.0.1 =
* Initial release.

== Author ==
Andreas Andersen (Ansico)
https://ansico.dk
