=== Extended Page Lists ===
Contributors: grandslambert
Tags: pages, shortcode, widget, elementor, navigation
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add custom configured page lists to your posts, pages, and sidebars—including Elementor list and grid widgets.

== Description ==

Extended Page Lists lets you build customized page (and post type) lists with a shortcode, a classic sidebar widget, and full Elementor widgets with Style controls.

= Features =

* Shortcode `[epl]` with control over HTML tags, classes, excerpts, and content
* Optional featured images in list items
* Classic widget for hierarchical page navigation
* Elementor **Extended Page List** widget with query sources, card styling, and pagination
* Elementor **Extended Page Grid** widget for direct children in a responsive card grid
* Query options: current page, siblings, specific parent, pin to top, custom field sort, depth limits
* Pagination: page numbers, load more, or infinite scroll
* Custom post type support via shortcode attributes

== Installation ==

1. Upload the `extended-page-lists` folder to `/wp-content/plugins/`
2. Activate the plugin through the Plugins screen
3. Configure defaults under Settings → Extended Page Lists

== Frequently Asked Questions ==

= How do I list child pages of the current page? =

Add `[epl]` to the page content.

= Can I show excerpts? =

Yes: `[epl show_excerpt="1"]`

== Screenshots ==

1. The settings screen
2. The widget form
3. Sample sidebar result
4. Sample shortcode output with custom tags and excerpts
5. Elementor Extended Page Grid: direct child pages as styled cards with images, titles, excerpts, and dates
6. Elementor Extended Page List: nested children with featured images, titles, excerpts, and post details

== Changelog ==

= 2.0.0 =
* Added Elementor widgets: Extended Page List and Extended Page Grid
* Added full Style controls for cards, images, titles, excerpts, and post details
* Added query sources: current children, siblings, specific page, plus list modes for top-level / all / selected
* Added include parent, pin pages to top, max depth, and custom field sorting
* Added whole-card linking
* Added pagination: page numbers, load more, and infinite scroll
* Shared query helper used by classic widget and Elementor widgets
* Classic WordPress widget is hidden in Elementor (use the native Elementor widgets instead)

= 1.2.0 =
* Modernized for current WordPress and Plugin Check standards
* Replaced legacy PHP4 constructors, `create_function()`, and `eregi()`
* Escaped admin/front output; sanitized settings and widget instances
* Removed remote contributor XML fetch and offloaded donate image
* Replaced direct SQL with `get_pages()`
* Updated plugin headers, requires (WP 6.0+, PHP 7.4+), and readme metadata
* Moved screenshots into `assets/` and added WordPress.org icon and banner assets
* Kept `[epl]` shortcode and classic widget behavior

= 1.0 =
* Bug fixes for shortcode reuse, tags/classes, and language loading

== Upgrade Notice ==

= 2.0.0 =
Major update: Elementor list and grid widgets with card styling, advanced query sources, and pagination. Classic sidebar widget remains available outside Elementor.

= 1.2.0 =
Recommended update for WordPress.org Plugin Check compatibility, modern PHP/WordPress support, and refreshed plugin assets.
