{"id":218242,"date":"2025-01-08T14:12:27","date_gmt":"2025-01-08T14:12:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/advance-post-grid\/"},"modified":"2026-06-17T15:38:13","modified_gmt":"2026-06-17T15:38:13","slug":"advance-post-grid","status":"publish","type":"plugin","link":"https:\/\/os.wordpress.org\/plugins\/advance-post-grid\/","author":23199329,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.8","stable_tag":"1.1.8","tested":"7.0","requires":"6.1","requires_php":"7.2","requires_plugins":null,"header_name":"Advance Post Grid","header_author":"WebOptics","header_description":"Block to add post type with advance options.","assets_banners_color":"91c5e1","last_updated":"2026-06-17 15:38:13","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/github.com\/weboptics","rating":0,"author_block_rating":0,"active_installs":20,"downloads":1473,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"weboptics","date":"2025-01-08 14:11:55"},"1.1.0":{"tag":"1.1.0","author":"weboptics","date":"2025-01-25 09:20:01"},"1.1.1":{"tag":"1.1.1","author":"weboptics","date":"2025-01-25 09:24:48"},"1.1.2":{"tag":"1.1.2","author":"weboptics","date":"2025-09-22 11:54:51"},"1.1.3":{"tag":"1.1.3","author":"weboptics","date":"2025-09-23 10:47:33"},"1.1.4":{"tag":"1.1.4","author":"weboptics","date":"2026-01-12 16:03:22"},"1.1.5":{"tag":"1.1.5","author":"weboptics","date":"2026-03-30 11:39:19"},"1.1.6":{"tag":"1.1.6","author":"weboptics","date":"2026-06-11 12:05:58"},"1.1.7":{"tag":"1.1.7","author":"weboptics","date":"2026-06-17 14:58:40"},"1.1.8":{"tag":"1.1.8","author":"weboptics","date":"2026-06-17 15:38:13"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3219078,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-384x384.png":{"filename":"icon-384x384.png","revision":3219078,"resolution":"384x384","location":"assets","locale":"","width":384,"height":384}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3219078,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3219078,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"weboptics\/advance-post-grid":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"weboptics\/advance-post-grid","version":"0.1.0","title":"Advance Post Grid","category":"widgets","description":"Block to add post type with advance options","example":{},"supports":{"html":false,"align":["full","wide"]},"attributes":{"align":{"type":"string","default":"wide"},"postGrid":{"type":"integer","default":3},"enablePostGridRes":{"type":"boolean","default":true},"postGridTablet":{"type":"integer","default":2},"postGridMobile":{"type":"integer","default":1},"postType":{"type":"string","default":"post"},"postPerPage":{"type":"string","default":"12"},"PostOrder":{"type":"string","default":"DESC"},"showHidePagi":{"type":"boolean","default":true},"showHideLink":{"type":"boolean","default":true},"showHideCat":{"type":"boolean","default":true},"showHideRT":{"type":"boolean","default":true},"showHideDate":{"type":"boolean","default":true},"PostOrderBy":{"type":"string","default":"title"}},"textdomain":"advance-post-grid","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","render":"file:.\/render.php","viewScript":"file:.\/view.js"}},"tagged_versions":["1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1220,4121,6040,86,3480],"plugin_category":[],"plugin_contributors":[223419,236639,237414,248242,236162],"plugin_business_model":[],"class_list":["post-218242","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-blocks","plugin_tags-grid","plugin_tags-post","plugin_tags-post-grid","plugin_contributors-haseebnawaz298","plugin_contributors-muhammadasad609","plugin_contributors-nawaz999","plugin_contributors-saleemmunawar","plugin_contributors-weboptics","plugin_committers-muhammadasad609","plugin_committers-weboptics"],"banners":{"banner":"https:\/\/ps.w.org\/advance-post-grid\/assets\/banner-772x250.png?rev=3219078","banner_2x":"https:\/\/ps.w.org\/advance-post-grid\/assets\/banner-1544x500.png?rev=3219078","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/advance-post-grid\/assets\/icon-128x128.png?rev=3219078","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The Advanced Post Grid plugin allows you to create customizable and responsive grid layouts to display your posts, pages, or any custom content dynamically. Designed for flexibility and ease of use, this plugin integrates seamlessly with the Gutenberg block editor, offering an intuitive way to showcase your content in a visually appealing grid format. Whether you're building a blog, portfolio, or product showcase, this plugin gives you full control over the number of columns, layout styling, and content arrangement..<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Dynamic Column Control: Choose the number of columns to display in the grid, adapting to your design requirements.<\/li>\n<li>Customizable Layouts: Style your grids with custom CSS or use default settings for a clean and responsive design.<\/li>\n<li>Dynamic Content Support: Display posts, pages, or any REST-enabled public post type with ease.<\/li>\n<li>Mobile Responsive: Per-block tablet and mobile column controls with an independent responsive toggle.<\/li>\n<li>Shortcode Support: Use <code>[advance_post_grid]<\/code> anywhere \u2014 pages, widgets, classic editor.<\/li>\n<li>Developer Friendly: Extend the plugin's functionality with hooks, filters, and templates.<\/li>\n<\/ul>\n\n<h4>Shortcode<\/h4>\n\n<p>Use [advance_post_grid] anywhere shortcodes are supported \u2014 pages, widgets, or the classic editor.<\/p>\n\n<p>Available attributes (all optional):<\/p>\n\n<ul>\n<li>posttype \u2014 Post type to display. Default: post. Accepts any REST-enabled public post type slug.<\/li>\n<li>postgrid \u2014 Desktop column count. Default: 3. Accepts: 1, 2, 3, 4.<\/li>\n<li>postgridtablet \u2014 Tablet column count. Default: 2. Only applied when enablepostgridres=\"true\".<\/li>\n<li>postgridmobile \u2014 Mobile column count. Default: 1. Only applied when enablepostgridres=\"true\".<\/li>\n<li>enablepostgridres \u2014 Enable independent tablet and mobile columns. Default: true. Accepts: true, false.<\/li>\n<li>postperpage \u2014 Number of posts per page. Default: 12.<\/li>\n<li>postorder \u2014 Sort direction. Default: DESC. Accepts: ASC, DESC.<\/li>\n<li>postorderby \u2014 Sort field. Default: title. Accepts: title, date, modified, menu_order, rand, comment_count.<\/li>\n<li>showhidepagi \u2014 Show pagination. Default: true. Accepts: true, false.<\/li>\n<li>showhidelink \u2014 Show post links and Read More button. Default: true. Accepts: true, false.<\/li>\n<li>showhidecat \u2014 Show category badges. Default: true. Accepts: true, false.<\/li>\n<li>showhidedate \u2014 Show post date. Default: true. Accepts: true, false.<\/li>\n<li>showhidert \u2014 Show estimated read time. Default: true. Accepts: true, false.<\/li>\n<\/ul>\n\n<p>Example: [advance_post_grid posttype=\"product\" postgrid=\"4\" postperpage=\"8\" postorderby=\"date\" showhidedate=\"false\" showhidert=\"false\"]<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin &amp; install it to your <code>wp-content\/plugins<\/code> folder (or use the Plugins menu through the WordPress Administration section)<\/li>\n<li>Activate the plugin<\/li>\n<li>Add Block to the page.<\/li>\n<li>Select your option.<\/li>\n<li>Save and enjoy!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"i%20need%20help%20to%20configure%20the%20plugin%3F\"><h3>I need help to configure the plugin?<\/h3><\/dt>\n<dd><p>Please email me at <a href=\"mailto:hello.weboptics@gmail.com\">hello.weboptics@gmail.com<\/a><\/p><\/dd>\n<dt id=\"for%20support%20or%20troubleshooting%20help\"><h3>For support or troubleshooting help<\/h3><\/dt>\n<dd><p>Submit a issue <a href=\"https:\/\/github.com\/weboptics\/advance-post-grid\/issues\">here<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Release first version<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added pagination<\/li>\n<li>Added new elements<\/li>\n<li>ability to hide elements<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Update Stable Tag<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Minor Update<\/li>\n<li>Added option for shortcode as well<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>fix bug in shortcode<\/li>\n<li>added responsive options<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>Update Stable Tag<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>Fix mobile pagination bug<\/li>\n<\/ul>\n\n<h4>1.1.6<\/h4>\n\n<ul>\n<li>Fix broken block wrapper attributes caused by incorrect use of esc_html on get_block_wrapper_attributes<\/li>\n<li>Fix invalid HTML \u2014 removed href attribute from div elements when Post Link is disabled<\/li>\n<li>Add placeholder image for posts without a featured image (editor and frontend)<\/li>\n<li>Fix pagination next button missing circle styles in editor<\/li>\n<li>Fix pagination inactive page numbers missing circle styles in editor<\/li>\n<li>Fix card layout \u2014 replaced fragile absolute positioning with flexbox<\/li>\n<li>Fix post categories container missing display flex<\/li>\n<li>Fix CSS color variable with no fallback<\/li>\n<li>Fix pagination responsive layout \u2014 hide\/show correct elements per breakpoint<\/li>\n<\/ul>\n\n<h4>1.1.7<\/h4>\n\n<ul>\n<li>Improved: Post type selector now dynamically includes all REST-enabled public post types \u2014 no longer limited to post, page, and product<\/li>\n<li>Improved: Replaced raw fetch() in the editor with apiFetch for correct nonce handling and subdirectory WordPress support<\/li>\n<li>Improved: Expanded Order By options \u2014 added Last Modified, Menu Order, Random, Comment Count<\/li>\n<li>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<\/li>\n<li>Improved: Removed dependency on --cr_color_primary theme CSS variable in pagination styles<\/li>\n<li>Fixed: Disabled next-page arrow on the last page was missing role=\"button\" and rendered without border or sizing styles<\/li>\n<li>Fixed: Placeholder image was referenced from src\/assets\/images which is not deployed \u2014 now copied to build\/assets\/images via webpack and paths updated in render.php and wp_localize_script<\/li>\n<\/ul>\n\n<h4>1.1.8<\/h4>\n\n<ul>\n<li>Update Stable Tag<\/li>\n<\/ul>","raw_excerpt":"The plugin allows you to create responsive grid layouts to display your posts, pages, or any custom content dynamically.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/218242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=218242"}],"author":[{"embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/weboptics"}],"wp:attachment":[{"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=218242"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=218242"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=218242"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=218242"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=218242"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/os.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=218242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}