=== Puti Info (Embed Edition) ===

Contributors: sakakibara-t
Tags: rest-api
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A headless-style plugin that allows you to embed a list of announcements—featuring modals—into static HTML or landing pages using a single script tag.

== Description ==

- Embed in external static sites with just one line of code
- Automatic generation of embed tags
- Modal (popup) display without page transitions
- Settings for the number of items displayed and category filtering
- CSS conflict prevention using Shadow DOM
- Addition of `inline_css` to the `wp/v2/posts` API response
- CORS control via allowed domain registration

== Installation ==

1. Upload the `puti-info` folder in `wp-content/plugins/`.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Save the following settings under "Settings > Puti Info" in the admin dashboard:
- Allowed Domains (CORS)
- Default Post Count (Number of items to display)
- Category Filter (optional, checkbox selection)
- Load Theme Styles (True or False)
4. Paste the "Embed Tag" from the same screen into your static HTML.

== Notes ==

- SEO/OGP optimization is not included (priority is given to the embedded experience).
- CSS from themes, plugins, or customizations may not be applied.

== Changelog ==

= 0.1.1 =
* Addressed review comments:
- Modified to load JavaScript using `admin_enqueue_scripts`.
- Removed translation files.

= 0.1.0 =
* Initial release of Puti Info (Embed Edition).