{"id":296139,"date":"2026-04-15T07:01:56","date_gmt":"2026-04-15T07:01:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ait-blocks\/"},"modified":"2026-04-15T07:55:11","modified_gmt":"2026-04-15T07:55:11","slug":"aitattman-blocks","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/aitattman-blocks\/","author":23473425,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.1","stable_tag":"1.3.1","tested":"6.9.4","requires":"6.4","requires_php":"8.1","requires_plugins":null,"header_name":"AitAttman Blocks","header_author":"Ahmed Ait Attman <aitattman@outlook.com>","header_description":"Some essential custom blocks for the Gutenberg Editor to expand WordPress site functionality.","assets_banners_color":"93cff7","last_updated":"2026-04-15 07:55:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/AitAttman\/aitattman-blocks","header_author_uri":"https:\/\/aitattman.pages.dev","rating":0,"author_block_rating":0,"active_installs":0,"downloads":26,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3.0":{"tag":"1.3.0","author":"aitattman","date":"2026-04-15 07:00:31"},"1.3.1":{"tag":"1.3.1","author":"aitattman","date":"2026-04-15 07:55:11"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3506705,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3506705,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3506705,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3506705,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3506705,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"aitattman-blocks\/searchbox":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"aitattman-blocks\/searchbox","version":"1.0.0","title":"Search Box","category":"widgets","icon":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-search-icon lucide-search'><path d='m21 21-4.34-4.34'\/><circle cx='11' cy='11' r='8'\/><\/svg>","description":"Search posts filtered specifically by the active post type.","example":{},"attributes":{"anchor":{"type":"string","default":""},"placeholder":{"type":"string","default":"search..."},"showIcon":{"type":"boolean","default":true},"searchLabel":{"type":"string","default":"Search"}},"supports":{"anchor":true,"html":true,"color":{"background":true,"text":true,"gradients":true},"spacing":{"padding":true}},"textdomain":"aitattman-blocks","editorScript":"file:.\/index.js","style":"file:.\/index.css","render":"file:.\/render.php"},"aitattman-blocks\/slider":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"aitattman-blocks\/slider","version":"0.1.0","title":"Slider","category":"widgets","icon":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-gallery-horizontal-icon lucide-gallery-horizontal'><path d='M2 3v18'\/><rect width='12' height='18' x='6' y='3' rx='2'\/><path d='M22 3v18'\/><\/svg>","description":"Display your latest posts in a responsive, single-slide carousel.","attributes":{"anchor":{"type":"string","default":""},"postType":{"type":"string","default":"post"},"category":{"type":"string","default":""},"taxonomy":{"type":"string","default":"category"},"thumbnailSize":{"type":"string","default":"full"},"numPosts":{"type":"integer","default":5},"caption":{"type":"boolean","default":true},"navDots":{"type":"boolean","default":true},"navButtons":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"interval":{"type":"integer","default":5000}},"supports":{"anchor":true},"textdomain":"aitattman-blocks","editorScript":"file:.\/index.js","viewScript":"file:.\/view.js","style":"file:.\/index.css","render":"file:.\/render.php"},"aitattman-blocks\/query":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"aitattman-blocks\/query","version":"0.1.0","title":"Query Posts","category":"widgets","icon":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-layout-list-icon lucide-layout-list'><rect width='7' height='7' x='3' y='3' rx='1'\/><rect width='7' height='7' x='3' y='14' rx='1'\/><path d='M14 4h7'\/><path d='M14 9h7'\/><path d='M14 15h7'\/><path d='M14 20h7'\/><\/svg>","description":"Custom query to display posts filtered by category and post type.","attributes":{"postType":{"type":"string","default":"post"},"anchor":{"type":"string","default":""},"category":{"type":"string","default":""},"taxonomy":{"type":"string","default":"category"},"thumbnailSize":{"type":"string","default":"large"},"numPosts":{"type":"integer","default":5},"showAuthorName":{"type":"boolean","default":true},"showDate":{"type":"boolean","default":true},"showExcerpt":{"type":"boolean","default":false},"excerptLength":{"type":"integer","default":100},"isRelatedPosts":{"type":"boolean","default":false},"showItemsFoundMessage":{"type":"boolean","default":false},"usePagination":{"type":"boolean","default":false},"useSearch":{"type":"boolean","default":false},"defaultQuery":{"type":"boolean","default":false}},"supports":{"anchor":true},"textdomain":"aitattman-blocks","editorScript":"file:.\/index.js","style":"file:.\/style-index.css","render":"file:.\/render.php"},"aitattman-blocks\/sidepanel":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"aitattman-blocks\/sidepanel","version":"0.1.0","title":"Side Panel","category":"widgets","icon":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='#1f1f1f'><path d='M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm280-80h280v-560H480v560Z'\/><\/svg>","description":"Slide-out drawer for any side of the screen, triggered by a button you choose.","example":{},"attributes":{"triggers":{"type":"string","default":"ait-sidepanel-open"},"position":{"type":"string","default":"start"}},"supports":{"html":true,"align":["wide","full"],"color":{"background":true,"text":true,"gradients":true},"spacing":{"padding":true}},"textdomain":"aitattman-blocks","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","viewStyle":"file:.\/view.css","style":"file:.\/style-index.css","viewScript":"file:.\/view.js"},"aitattman-blocks\/button":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"aitattman-blocks\/button","version":"0.1.0","title":"Button","category":"widgets","icon":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='currentColor'><path d='M200-200q-33 0-56.5-23.5T120-280v-400q0-33 23.5-56.5T200-760h560q33 0 56.5 23.5T840-680v400q0 33-23.5 56.5T760-200H200Zm0-80h560v-400H200v400Zm0 0v-400 400Z'\/><\/svg>","description":"Display button or link with integrated SVG icon support.","example":{},"attributes":{"text":{"type":"string","default":"My Text"},"url":{"type":"string","default":""},"tag":{"type":"string","default":"button"},"icon":{"type":"string","default":"<svg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-heart-plus-icon lucide-heart-plus'><path d='m14.479 19.374-.971.939a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.219 1.49'\/><path d='M15 15h6'\/><path d='M18 12v6'\/><\/svg>"},"hasIcon":{"type":"boolean","default":true},"isColumn":{"type":"boolean","default":false},"isReverse":{"type":"boolean","default":false}},"supports":{"anchor":true,"color":{"background":true,"text":true,"gradients":true},"spacing":{"padding":true,"margin":true},"typography":{"fontSize":true},"align":true,"html":true,"shadow":true,"border":{"color":true,"radius":true,"style":true,"width":true}},"textdomain":"aitattman-blocks","style":"file:.\/style-index.css","editorScript":"file:.\/index.js"},"aitattman-blocks\/theme-controllers":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"aitattman-blocks\/theme-controllers","version":"0.1.0","title":"Theme Controllers","category":"widgets","icon":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-sun-moon-icon lucide-sun-moon'><path d='M12 2v2'\/><path d='M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715'\/><path d='M16 12a4 4 0 0 0-4-4'\/><path d='m19 5-1.256 1.256'\/><path d='M20 12h2'\/><\/svg>","description":"Let user choose between light and dark modes anytime.","example":{},"attributes":{"iconDark":{"type":"string","default":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-eclipse-icon lucide-eclipse'><circle cx='12' cy='12' r='10'\/><path d='M12 2a7 7 0 1 0 10 10'\/><\/svg>"},"iconLight":{"type":"string","default":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-sun-icon lucide-sun'><circle cx='12' cy='12' r='4'\/><path d='M12 2v2'\/><path d='M12 20v2'\/><path d='m4.93 4.93 1.41 1.41'\/><path d='m17.66 17.66 1.41 1.41'\/><path d='M2 12h2'\/><path d='M20 12h2'\/><path d='m6.34 17.66-1.41 1.41'\/><path d='m19.07 4.93-1.41 1.41'\/><\/svg>"},"iconSystem":{"type":"string","default":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-monitor-cog-icon lucide-monitor-cog'><path d='M12 17v4'\/><path d='m14.305 7.53.923-.382'\/><path d='m15.228 4.852-.923-.383'\/><path d='m16.852 3.228-.383-.924'\/><path d='m16.852 8.772-.383.923'\/><path d='m19.148 3.228.383-.924'\/><path d='m19.53 9.696-.382-.924'\/><path d='m20.772 4.852.924-.383'\/><path d='m20.772 7.148.924.383'\/><path d='M22 13v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7'\/><path d='M8 21h8'\/><circle cx='18' cy='6' r='3'\/><\/svg>"}},"supports":{"anchor":true,"color":{"background":true},"align":true,"spacing":{"margin":true,"padding":true}},"textdomain":"aitattman-blocks","style":"file:.\/style-index.css","editorScript":"file:.\/index.js","viewScript":"file:.\/view.js"}},"tagged_versions":["1.3.0","1.3.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3506705,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3506705,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3506705,"resolution":"3","location":"assets","locale":""},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":3506705,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Search for \"aitattman-blocks\" and choose the right block.","2":"Display recent posts thumbnails with titles in slider.","3":"Add side-panels as containers on right, left, top or bottom position.","4":"Display svg icons as buttons and add link to them."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[148857,172,786,260250],"plugin_category":[],"plugin_contributors":[260251],"plugin_business_model":[],"class_list":["post-296139","plugin","type-plugin","status-publish","hentry","plugin_tags-block-editor","plugin_tags-buttons","plugin_tags-carousel","plugin_tags-side-panels","plugin_contributors-aitattman","plugin_committers-aitattman"],"banners":{"banner":"https:\/\/ps.w.org\/aitattman-blocks\/assets\/banner-772x250.png?rev=3506705","banner_2x":"https:\/\/ps.w.org\/aitattman-blocks\/assets\/banner-1544x500.png?rev=3506705","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/aitattman-blocks\/assets\/icon.svg?rev=3506705","icon":"https:\/\/ps.w.org\/aitattman-blocks\/assets\/icon.svg?rev=3506705","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/aitattman-blocks\/assets\/screenshot-1.jpg?rev=3506705","caption":"Search for \"aitattman-blocks\" and choose the right block."},{"src":"https:\/\/ps.w.org\/aitattman-blocks\/assets\/screenshot-2.jpg?rev=3506705","caption":"Display recent posts thumbnails with titles in slider."},{"src":"https:\/\/ps.w.org\/aitattman-blocks\/assets\/screenshot-3.jpg?rev=3506705","caption":"Add side-panels as containers on right, left, top or bottom position."},{"src":"https:\/\/ps.w.org\/aitattman-blocks\/assets\/screenshot-4.jpg?rev=3506705","caption":"Display svg icons as buttons and add link to them."}],"raw_content":"<!--section=description-->\n<p>Most websites have some common elements like <em>side-panels<\/em> that act as containers for other elements like mobile navigation menus, and <em>slider<\/em> to display content like images with captions, and <em>buttons<\/em> with text and svg icons... This plugin provides some of such elements as blocks for Gutenberg Editor in WordPress.<\/p>\n\n<h3>Development<\/h3>\n\n<p>You can browse the source code and contribute to the development of this plugin in the GitHub repository:<\/p>\n\n<p><a href=\"https:\/\/github.com\/AitAttman\/aitattman-blocks\">https:\/\/github.com\/AitAttman\/aitattman-blocks<\/a><\/p>\n\n<!--section=installation-->\n<p>You can install this plugin in two different methods:<\/p>\n\n<h4>Install from WordPress plugins directory<\/h4>\n\n<ol>\n<li>Log in to your WordPress dashboard.<\/li>\n<li>Navigate to Plugins\u202f&gt;\u202fAdd New.<\/li>\n<li>In the search field, type \u201cAitAttman Blocks\u201d, then click Search Plugins.<\/li>\n<li>Click Install Now, then Activate.<\/li>\n<\/ol>\n\n<h4>Install manually<\/h4>\n\n<ol>\n<li>Download the plugin <strong>.zip<\/strong> file from <a href=\"https:\/\/WordPress.org\/plugins\/aitattman-blocks\">https:\/\/WordPress.org\/plugins\/aitattman-blocks<\/a> or <a href=\"https:\/\/github.com\/AitAttman\/aitattman-blocks\">https:\/\/github.com\/AitAttman\/aitattman-blocks<\/a><\/li>\n<li>Upload it to your server under <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate it through the Plugins screen in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20work%20with%20full%20site%20editing%3F\"><h3>Does this plugin work with Full Site Editing?<\/h3><\/dt>\n<dd><p>Yes. AitAttman Blocks plugin works perfectly with block themes and the Site Editor.<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20really%20free%3F\"><h3>Is this plugin really free?<\/h3><\/dt>\n<dd><p>Yes, absolutely. This plugin is 100% free and open-source under the GPL license. There are no \\\"Pro\\\" versions, no hidden subscriptions, and no locked features. Everything you see is what you get.<\/p><\/dd>\n<dt id=\"can%20i%20add%20other%20blocks%20inside%20side-panel%20block%3F\"><h3>Can I add other blocks inside Side-panel block?<\/h3><\/dt>\n<dd><p>Yes. You can place other blocks inside <strong>Side-panel<\/strong> blocks.<\/p><\/dd>\n<dt id=\"how%20to%20open%2Fclose%20side-panel%20block%3F\"><h3>How to open\/close Side-panel block?<\/h3><\/dt>\n<dd><p>You can add <strong>Triggers Class Name<\/strong> in configuration sidebar of Side-panel, and then add this CSS class name to triggers like buttons that will open the Side-panel. To make the trigger to close the Side-panel add extra CSS class named \"action-close\".<\/p>\n\n<p>For instance, if the triggers class name is \"sidemenu-trigger\", and to close the Side-panel by a button, just add to that button these two classes: <strong>\"sidemenu-trigger action-close\"<\/strong><\/p><\/dd>\n<dt id=\"can%20i%20display%20svg%20icons%20using%20this%20plugin%3F\"><h3>Can I display svg icons using this plugin?<\/h3><\/dt>\n<dd><p>Yes. With <strong>Button<\/strong> block, you can add svg icon in the sidebar controls. You can as well add text side by side with the icon and add link or make it simple element for display purposes.<\/p>\n\n<p>You can copy svg icons from websites that offer free icons like <a href=\"https:\/\/lucide.dev\/icons\">https:\/\/lucide.dev\/icons<\/a>.<\/p><\/dd>\n<dt id=\"can%20i%20display%20any%20photos%20in%20the%20slider%3F\"><h3>Can I display any photos in the Slider?<\/h3><\/dt>\n<dd><p>No. The <em>Slider<\/em> in current version can only display posts featured thumbnails with posts titles as captions. The Slider is meant to display recent posts by category (and other criteria).<\/p><\/dd>\n<dt id=\"why%20slider%20or%20query%20posts%20does%20not%20display%20live%20preview%20in%20the%20editor%3F\"><h3>Why Slider or Query Posts does not display live preview in the editor?<\/h3><\/dt>\n<dd><p>For performance reasons, you can only see an example of these blocks; <em>Slider<\/em> and <em>Query Posts<\/em>, not live preview in the editor. However, you can see the resulting block anytime on your public site.<\/p><\/dd>\n<dt id=\"how%20does%20theme%20controllers%20block%20change%20site%20theme%20%3F\"><h3>How does Theme Controllers block change site theme ?<\/h3><\/dt>\n<dd><p>This block updates the data-theme=\"{theme}\" attribute (where {theme} value can be: light, dark, or system) whenever the user clicks on the theme icon on the public site. Keep in mind that this block does not register the theme value in database; instead, it uses browser's <em>localStorage<\/em> to persist the user's preference.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.1 - April 2026<\/h4>\n\n<ul>\n<li>Fixed small bug in CSS class name of side-panel and button blocks.<\/li>\n<\/ul>\n\n<h4>1.3.0 - April 2026<\/h4>\n\n<ul>\n<li>Fixed bugs and minor changes.<\/li>\n<\/ul>\n\n<h4>1.2.0 - April 2026<\/h4>\n\n<ul>\n<li>Changed plugin name and slug.<\/li>\n<li>updated readme.txt and LICENSE.<\/li>\n<\/ul>\n\n<h4>1.1.0 - March 2026<\/h4>\n\n<ul>\n<li>Fixed some translation issues.<\/li>\n<li>Removed blocks-manifest.php file and used block.json files instead.<\/li>\n<\/ul>\n\n<h4>1.0.0 - February 2026<\/h4>\n\n<ul>\n<li>Initial release of <em>AitAttman Blocks<\/em> plugin.<\/li>\n<\/ul>","raw_excerpt":"Some essential custom blocks for the Gutenberg Editor to expand WordPress site functionality.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/296139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=296139"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aitattman"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=296139"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=296139"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=296139"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=296139"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=296139"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=296139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}