=== Elementor Post Grid Widget ===
Contributors: yourname
Tags: elementor, post grid, widget, responsive, custom post types
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A custom Elementor widget that displays a responsive grid of posts with extensive customization options.

== Description ==

The Elementor Post Grid Widget is a powerful and flexible plugin that adds a custom widget to Elementor, allowing you to display posts in a beautiful, responsive grid layout.

= Features =

* **Responsive Design**: 3 columns on desktop, 2 on tablet, 1 on mobile
* **Custom Post Type Support**: Works with any public post type
* **Flexible Filtering**: Filter by categories, tags, and custom taxonomies
* **Sorting Options**: Sort by date, title, or random order
* **Customizable Styling**: Full control over colors, typography, spacing, and more
* **Elementor Integration**: Seamlessly integrates with Elementor's interface
* **Shortcode Support**: Use [post_grid] shortcode anywhere
* **Performance Optimized**: Lazy loading and efficient queries
* **Accessibility Ready**: Keyboard navigation and screen reader friendly
* **Developer Friendly**: Hooks and filters for customization

= Grid Layout =

Each post in the grid displays:
* Post thumbnail image
* Post title (linked to full post)
* Post excerpt (customizable length)
* Publication date
* "Read More" button

= Elementor Controls =

The widget provides extensive controls in the Elementor editor:

**Content Tab:**
* Post Type selection (including custom post types)
* Number of posts to display
* Order by (date, title, random, menu order)
* Sort order (ascending/descending)

**Filters Tab:**
* Category filter (for posts)
* Tag filter (for posts)

**Style Tab:**
* Grid gap control
* Post item styling (borders, shadows, padding)
* Typography controls for titles and excerpts
* Button styling with normal and hover states

= Shortcode Usage =

You can also use the shortcode outside of Elementor:

`[post_grid post_type="post" posts_per_page="6" orderby="date" order="DESC"]`

= Requirements =

* WordPress 5.0 or higher
* Elementor 3.0.0 or higher
* PHP 7.4 or higher

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/elementor-post-grid/`
2. Activate the plugin through the 'Plugins' screen in WordPress
3. The widget will appear in Elementor under "Custom Widgets"

== Frequently Asked Questions ==

= Does this work with custom post types? =

Yes! The widget automatically detects all public post types and allows you to select any of them.

= Can I customize the styling? =

The widget provides extensive styling controls in the Elementor editor, and you can also add custom CSS.

= Is it mobile responsive? =

Yes, the grid automatically adjusts to show 3 columns on desktop, 2 on tablet, and 1 on mobile.

= Can I use this without Elementor? =

The widget is designed for Elementor, but you can use the included shortcode to display post grids anywhere.

== Screenshots ==

1. Widget in Elementor editor
2. Content controls
3. Style controls
4. Frontend grid display
5. Mobile responsive view

== Changelog ==

= 1.0.0 =
* Initial release
* Responsive post grid widget
* Custom post type support
* Elementor integration
* Shortcode support
* Extensive styling options

== Upgrade Notice ==

= 1.0.0 =
Initial release of the Elementor Post Grid Widget.
