=== Custom Post Listing ===
Contributors: maulikmakwana2008
Donate link: https://profiles.wordpress.org/maulikmakwana2008/
Tags: post listing, post grid, post loop, custom listing, cpt
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
Stable tag: 1.0.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Create and manage dynamic post listings from any post type with flexible shortcodes, AJAX loading, and customizable grid layouts.

== Description ==
**Custom Post Listing** empowers you to easily create and manage shortcodes to display posts from **any post type** — including blog posts, portfolios, and WooCommerce products — with complete layout and design flexibility.

Whether you’re building a blog grid, a portfolio showcase, or a product catalog, this plugin gives you full control — **no coding required**.

= 🚀 Key Features =  
* **Unlimited Shortcodes** – Create and manage multiple post listing shortcodes with unique layouts and settings.  
* **Custom Post Type Support** – Select and display posts from any post type — including your own custom ones.  
* **Flexible Display Options** – Choose what to show: featured image, title, description/excerpt, post date, and buttons.
* **Show or Hide Individual Fields** – Featured image, title, description/excerpt, post date, and buttons.
* **Drag & Manage Field Order** – Easily reorder fields using drag-and-drop for full layout control.
* **Responsive Column Layouts** – Set the number of columns per row to create clean, modern grid layouts.  
* **AJAX-Powered Loading** – Enjoy faster and smoother browsing with AJAX-based post loading.  
* **Lightweight & Developer-Friendly** – Optimized for performance and easy integration into any WordPress theme.

= 🎯 Perfect For =  
* Blog post grids  
* Portfolio listings  
* WooCommerce product showcases  
* Testimonials, team members, and more  

= 💡 Why You’ll Love It =  
Custom Post Listing saves you hours of manual shortcode creation and template coding.  
Build beautiful, flexible, and dynamic post listings right from the admin panel — and display them anywhere using a simple shortcode.

== Installation ==  

1. Upload the plugin folder to `/wp-content/plugins/` directory, or install directly from the WordPress Plugins page.  
2. Activate the plugin through the **Plugins** menu in WordPress.  
3. Go to **Custom Post Listing** in your WordPress admin menu.  
4. Create a new shortcode and configure your display settings.  
5. Copy and paste the generated shortcode (e.g. `[cplist_ajax_post_list id="123"]`) into any page or post.  


== Frequently Asked Questions ==  

= Can I use this plugin with custom post types? =  
Yes, you can select any registered post type (including custom ones).  

= Does it support AJAX loading? =  
Yes! The plugin uses AJAX to load posts dynamically for better performance.  

= Can I customize the display layout? =  
Yes, you can customize columns, colors, and visibility of fields like title, image, date, etc.  

== Screenshots ==  
1. Admin page for post listing information
2. Admin page for creating custom post listing shortcodes. 
3. Admin page short code listing
4. Front post listing with 4 column with ajax post listing
5. Front post listing with 4 column with ajax load more listing
6. Admin page with edit short code
7. Front post listing with 2 column with ajax post listing
8. Front post listing with 2 column with ajax load more listing

== Changelog ==  

= 1.0.3 =
* Added show/hide options for individual fields (Featured Image, Title, Excerpt, Date, Read More button)
* Added drag & drop field ordering support
* Added custom color and basic style options
* Improved code security with better sanitization and escaping
* Minor UI improvements in shortcode generator
* Fixed small bugs and performance issues

= 1.0.2 =  
* Fixed Generic function/class/define/namespace/option names
* Fixed Data Must be Sanitized, Escaped, and Validated

= 1.0.1 =  
* Changed code as per plugin standart
* Changed plugin slug

= 1.0.0 =  
* Initial release.  
* Added shortcode generator for post listings.  
* Included AJAX support for dynamic loading.  
* Added customizable layout and style options.  

== Upgrade Notice ==  
= 1.0.0 =  
Initial release — create custom post listings with shortcode and AJAX support.  

== License ==  
This plugin is licensed under the GPLv2 or later. You are free to modify and redistribute it under the same license.