=== Elix Custom Fields and Post Types ===
Contributors: Elixapps
Donate link: https://elixapps.com/
Tags: custom-fields, post-types, metabox, custom-post-types, fields
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Advanced, high-performance, modular custom fields framework for WordPress.

== Description ==

Elix Custom Fields and Post Types gives you complete control over your WordPress edit screens and custom data.

= Core Features =
* **Lightweight & High Performance**: Clean architecture with low memory footprint and optimized caching.
* **Intuitive Field Builder**: Fast, responsive field group builder with live configuration.
* **14 Built-in Field Types**: Text, Textarea, Number, Email, Password, URL, Select, Checkbox, Radio, True/False, Date, Time, DateTime, and Color Picker.
* **Smart Location Rules**: Display field groups based on post types, specific posts, pages, page templates, post statuses, or user roles.
* **Developer Friendly API**: Clean functions including `ecfpt_the_field()`, `ecfpt_get_field()`, `ecfpt()`, `elix_the_field()`, and `ecf_the_field()`.
* **Export & Import**: One-click JSON export and import for transferring field groups across environments.
* **REST API Support**: Clean REST API endpoints for headless and decoupled WordPress sites.

== Installation ==

1. Upload the `elix-custom-fields-and-post-types` folder to the `/wp-content/plugins/` directory, or install directly through the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to **Elix Fields** in the admin sidebar to start creating field groups.

== Frequently Asked Questions ==

= How do I display a custom field in my theme template? =
Use the global helper function:
`<?php ecfpt_the_field( 'my_field_name' ); ?>`
Or to retrieve the value in PHP:
`<?php $val = ecfpt_get_field( 'my_field_name' ); ?>`
*(Note: `ecf_the_field()`, `elix_the_field()`, and `elix_get_field()` are also fully supported).*

= Does this plugin work with Gutenberg (Block Editor)? =
Yes! Custom field groups are compatible with both the Gutenberg block editor and the Classic editor.

= Are custom field values preserved upon plugin deactivation? =
Yes. Field group definitions and post metadata remain stored in your database.

== Screenshots ==

1. Field Group Builder with custom field settings.
2. Location Rules configurator.
3. Field groups rendered on post edit screen.

== Changelog ==

= 1.0.0 =
* Initial public release on WordPress.org.
* Core field group builder with 14 foundational field types.
* Location rules engine for posts, pages, templates, statuses, and user roles.
* High-performance MetaManager caching engine.
* JSON import/export tool for seamless field group migration.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
