==  Advance Post Grid Changelog ==

== Changelog ==

= 1.0.0 =
* Release first version

= 1.1.0 =
* Added pagination
* Added new elements
* ability to hide elements

= 1.1.1 =

* Update Stable Tag

= 1.1.2 =

* Minor Update
* Added option for shortcode as well

= 1.1.3 =

* fix bug in shortcode
* added responsive options

= 1.1.4 =

* Update Stable Tag

= 1.1.5 =

* Fix mobile pagination bug

= 1.1.6 =

* Fix broken block wrapper attributes caused by incorrect use of esc_html on get_block_wrapper_attributes
* Fix invalid HTML — removed href attribute from div elements when Post Link is disabled
* Add placeholder image for posts without a featured image (editor and frontend)
* Fix pagination next button missing circle styles in editor
* Fix pagination inactive page numbers missing circle styles in editor
* Fix card layout — replaced fragile absolute positioning with flexbox
* Fix post categories container missing display flex
* Fix CSS color variable with no fallback
* Fix pagination responsive layout — hide/show correct elements per breakpoint

= 1.1.7 =

* Improved: Post type selector now dynamically includes all REST-enabled public post types — no longer limited to post, page, and product
* Improved: Replaced raw fetch() in the editor with apiFetch for correct nonce handling and subdirectory WordPress support
* Improved: Expanded Order By options — added Last Modified, Menu Order, Random, Comment Count
* Improved: REST API extended to accept rand, menu_order, and comment_count as valid orderby values so the editor preview stays in sync with the frontend
* Improved: Removed dependency on --cr_color_primary theme CSS variable in pagination styles
* Fixed: Disabled next-page arrow on the last page was missing role="button" and rendered without border or sizing styles
* Fixed: Placeholder image was referenced from src/assets/images which is not deployed — now copied to build/assets/images via webpack and paths updated in render.php and wp_localize_script

= 1.1.8 =

* Update Stable Tag
