=== LCS Field Builder ===
Contributors: hith
Tags: custom fields, field groups, meta boxes, repeater, content fields
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Build lightweight custom field groups with location rules, repeaters, media fields, and flexible frontend output tools.

== Description ==

LCS Field Builder gives editors and site builders a lightweight field-group workflow inspired by larger custom field plugins, while keeping the data model close to native WordPress.

Features include:

* Field groups stored as a dedicated admin-managed post type
* Location rules for post types, page templates, specific pages, and specific posts
* Text, textarea, WYSIWYG, image, gallery, file, video, audio, oEmbed, link, URL, email, page link, date, time, color, button group, tab, and repeater fields
* Nested repeaters, including media and rich content sub fields
* Automatic frontend display options, helper functions, and shortcodes
* Export and import tools for field groups
* Admin assets loaded only on LCS Field Builder screens
* Frontend stylesheet loaded only when supported shortcodes are present

The plugin stores field definitions in a custom post type plus post meta, which keeps the builder portable through normal WordPress content export workflows.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install it through the WordPress Plugins screen.
2. Activate **LCS Field Builder**.
3. Open **Field Groups** in the WordPress admin menu.
4. Create a field group, add fields, and configure its location rules.
5. Edit a matching post or page to start saving field data.

== Frequently Asked Questions ==

= Where are field groups stored? =

Field groups are stored as a dedicated internal custom post type and their settings are saved in post meta. Field values for content are stored in normal WordPress post meta.

= Can I output values in templates? =

Yes. Use helper functions like `lcfb_get_field()` and repeater helpers like `lcfb_have_rows()`, `lcfb_the_row()`, and `lcfb_get_sub_field()`.

= Does the plugin support nested repeaters? =

Yes. Repeaters can contain another repeater as a sub field.

== Screenshots ==

1. Field group editor with configurable fields and display controls
2. Field-group builder showing settings and field configuration

<!-- Changelog and upgrade notice removed for initial v1 release -->
