=== aiWhatsnext ===
Contributors: fragbait, Tony Arcus
Tags: posts, carousel, shortcode, category
Requires at least: 5.8
Tested up to: 7.1.4
Requires PHP: 8.0
Stable tag: 1.0.8
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Show published posts from one category, one at a time. Each post can present itself, or the slide can show the title, excerpt, featured image, and link.

== Description ==

aiWhatsnext adds an `[aiwhatsnext]` shortcode for a page or a TV screen. It loads published posts in the category you name, newest first, and advances to the next post after the duration set in Settings. The posts play once. Repeating the presentation is an aiWhatsnext Pro feature.

= Shortcode =

* `[aiwhatsnext category="coming-up"]`
* `[aiwhatsnext category="Coming up"]`
* `[aiwhatsnext coming-up]`
* `[aiwhatsnext category="coming-up" duration="12" transition="fade"]`
* `[aiwhatsnext category="coming-up" mode="content"]`

`category` is a slug, a category name, or a numeric category ID. A single value with no attribute name is the category.

`duration` is seconds for that page only (3 to 300). `transition` is `fade`, `slide`, or `none`. `mode` is `card` (summary) or `content` (the post’s own content).

Summary mode shows the title, date, excerpt, featured image when the post has one, and a permalink. Full post mode prints the post content so the post can present itself.

The shortcode works in a Divi Code module or Text module. Styles and script load only on pages that contain the shortcode.

== Installation ==

1. Upload the `aiwhatsnext` folder to `/wp-content/plugins/`.
2. Activate **aiWhatsnext** through the Plugins screen.
3. Open **aiWhatsnext** and set how many seconds each post stays on screen.
4. Put `[aiwhatsnext category="your-category"]` on the page.

== Changelog ==

= 1.0.7 =
* Updates for this free plugin come from WordPress.org.

= 1.0.6 =
* Release 1.0.6

= 1.0.5 =
* Release 1.0.5

= 1.0.4 =
* Release 1.0.4

= 1.0.3 =
* Release 1.0.3

= 1.0.2 =
* Maintenance release: version bump.

= 1.0.1 =
* Repeating the presentation is an aiWhatsnext Pro feature. This copy plays the posts once and leaves the last post on screen. The Repeat checkbox stays visible and is marked “Available in aiWhatsnext Pro”.

= 1.0.0 =
* First release. Category rotator, settings for duration, image, excerpt, and transition.
* Check https://ai.net.nz/aiplugin/aiwhatsnext.json for a newer version and install the zip published there.
