=== Kybern Breaking News ===
Contributors: kybern
Tags: breaking news, slider, hero, homepage, shortcode
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.6.10
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Manage homepage news slides with a lightweight hero slider shortcode and REST API. <a href="https://getstarted.kybern.ai/">By KybernAI</a>.

== Description ==

Kybern Breaking News lets editors manage homepage breaking news slides from the WordPress admin and render them on the site with a lightweight hero slider. <a href="https://getstarted.kybern.ai/">By KybernAI</a>.

Features:

* Manage slide titles, links, visibility, order, and hero images
* Set a global company name and choose whether its logo is shown in the slider label
* Render the frontend slider with the `[kybern_breaking_news]` shortcode
* Expose slide data through the `/wp-json/kybern-breaking-news/v1/slides` REST API
* Keep the frontend lightweight without heavy page builder dependencies
* Store slide covers and branding images as permanent WordPress media URLs, compatible with private S3 storage

The plugin does not require any external CDN assets and uses WordPress core libraries for the admin experience.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/kybern-breaking-news` directory, or install the plugin through the WordPress plugins screen.
2. Activate the plugin through the `Plugins` screen in WordPress.
3. Open `Breaking News Manager` in the WordPress admin.
4. Add your company name/logo in the branding section.
5. Create slides and place `[kybern_breaking_news]` where you want the hero slider to appear.

== Frequently Asked Questions ==

= Does this plugin work without Elementor or Revolution Slider? =

Yes. The frontend slider is built into the plugin and does not require a page builder.

= Is there a REST API? =

Yes. The plugin exposes slide data at `/wp-json/kybern-breaking-news/v1/slides`.

= Can I change the company logo and company name shown in the slider label? =

Yes. Use the branding section in the plugin manager page.

= Does the plugin work with private S3 media storage? =

Yes. Version 1.6.9 stores slide covers and logos as permanent WordPress media URLs. A compatible storage plugin can then create a fresh, short-lived S3 URL when a visitor requests the asset, without exposing the S3 object publicly or causing an expired-cover error.

== Changelog ==

= 1.6.10 =

* Moved plugin settings to the WordPress Settings menu and added a direct Settings link on the Plugins screen.

= 1.6.9 =

* Fixed slide covers and branding images stored on private S3-compatible media storage.
* Existing direct S3 cover and logo URLs are automatically repaired to use their permanent WordPress media URLs.
* Confirmed compatibility with WordPress 7.1.

= 1.6.8 =

* Confirmed compatibility with WordPress 7.1.

= 1.6.7 =

* Added a Dashboard page for managing homepage slides.
* Added a setting to show or hide the company logo in the slider.
* Updated the administrator-facing Italian copy and KybernAI attribution.

= 1.6.5 =

* Replaced plugin-owned `spn` identifiers with the unique `kybern_breaking_news` prefix required for WordPress.org review.
* Migrated stored option reads to the new option names while keeping legacy values readable during upgrade.
* Renamed the public REST namespace to `/wp-json/kybern-breaking-news/v1/slides`.

= 1.6.4 =

* Moved admin and frontend CSS/JS loading to proper WordPress enqueues.
* Replaced the shortcode with the prefixed `[kybern_breaking_news]` name.
* Limited public REST responses to active slides and protected single-slide access for inactive items.

= 1.6.3 =

* Prepared the plugin for WordPress.org submission
* Removed external CDN dependencies
* Added a WordPress.org-standard readme
* Switched the public plugin name to Kybern Breaking News
* Kept the lightweight slider and branding manager flow

= 1.6.2 =

* Updated plugin branding and manager UI
