Title: AitAttman Blocks
Author: Ahmed Ait Attman
Published: <strong>2026 年 4 月 15 日</strong>
Last modified: 2026 年 4 月 15 日

---

搜索插件

![](https://ps.w.org/aitattman-blocks/assets/banner-772x250.png?rev=3506705)

![](https://ps.w.org/aitattman-blocks/assets/icon.svg?rev=3506705)

# AitAttman Blocks

 作者：[Ahmed Ait Attman](https://profiles.wordpress.org/aitattman/)

[下载](https://downloads.wordpress.org/plugin/aitattman-blocks.1.3.1.zip)

 * [详情](https://cn.wordpress.org/plugins/aitattman-blocks/#description)
 * [评价](https://cn.wordpress.org/plugins/aitattman-blocks/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/aitattman-blocks/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/aitattman-blocks/#developers)

 [支持](https://wordpress.org/support/plugin/aitattman-blocks/)

## 描述

Most websites have some common elements like _side-panels_ that act as containers
for other elements like mobile navigation menus, and _slider_ to display content
like images with captions, and _buttons_ with text and svg icons… This plugin provides
some of such elements as blocks for Gutenberg Editor in WordPress.

### Development

You can browse the source code and contribute to the development of this plugin 
in the GitHub repository:

[https://github.com/AitAttman/aitattman-blocks](https://github.com/AitAttman/aitattman-blocks)

## 屏幕截图

[⌊Search for "aitattman-blocks" and choose the right block.⌉⌊Search for "aitattman-
blocks" and choose the right block.⌉[

Search for “aitattman-blocks” and choose the right block.

[⌊Display recent posts thumbnails with titles in slider.⌉⌊Display recent posts thumbnails
with titles in slider.⌉[

Display recent posts thumbnails with titles in slider.

[⌊Add side-panels as containers on right, left, top or bottom position.⌉⌊Add side-
panels as containers on right, left, top or bottom position.⌉[

Add side-panels as containers on right, left, top or bottom position.

[⌊Display svg icons as buttons and add link to them.⌉⌊Display svg icons as buttons
and add link to them.⌉[

Display svg icons as buttons and add link to them.

## 区块

该插件提供了 6 个区块.

 *     Search Box Search posts filtered specifically by the active post type.
 *     Slider Display your latest posts in a responsive, single-slide carousel.
 *     Query Posts Custom query to display posts filtered by category and post type.
 *     Side Panel Slide-out drawer for any side of the screen, triggered by a button
   you choose.
 *     Button Display button or link with integrated SVG icon support.
 *     Theme Controllers Let user choose between light and dark modes anytime.

## 安装

You can install this plugin in two different methods:

#### Install from WordPress plugins directory

 1. Log in to your WordPress dashboard.
 2. Navigate to Plugins > Add New.
 3. In the search field, type “AitAttman Blocks”, then click Search Plugins.
 4. Click Install Now, then Activate.

#### Install manually

 1. Download the plugin **.zip** file from [https://WordPress.org/plugins/aitattman-blocks](https://WordPress.org/plugins/aitattman-blocks)
    or [https://github.com/AitAttman/aitattman-blocks](https://github.com/AitAttman/aitattman-blocks)
 2. Upload it to your server under `/wp-content/plugins/`.
 3. Activate it through the Plugins screen in WordPress.

## 常见问题

### Does this plugin work with Full Site Editing?

Yes. AitAttman Blocks plugin works perfectly with block themes and the Site Editor.

### Is this plugin really free?

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.

### Can I add other blocks inside Side-panel block?

Yes. You can place other blocks inside **Side-panel** blocks.

### How to open/close Side-panel block?

You can add **Triggers Class Name** 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”.

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: **“sidemenu-trigger
action-close”**

### Can I display svg icons using this plugin?

Yes. With **Button** 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.

You can copy svg icons from websites that offer free icons like [https://lucide.dev/icons](https://lucide.dev/icons).

### Can I display any photos in the Slider?

No. The _Slider_ 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).

### Why Slider or Query Posts does not display live preview in the editor?

For performance reasons, you can only see an example of these blocks; _Slider_ and
_Query Posts_, not live preview in the editor. However, you can see the resulting
block anytime on your public site.

### How does Theme Controllers block change site theme ?

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 _localStorage_ to persist the user’s preference.

## 评价

此插件暂无评价。

## 贡献者及开发者

「AitAttman Blocks」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Ahmed Ait Attman ](https://profiles.wordpress.org/aitattman/)

[帮助将「AitAttman Blocks」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/aitattman-blocks)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/aitattman-blocks/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/aitattman-blocks/)，或通过[RSS](https://plugins.trac.wordpress.org/log/aitattman-blocks/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/aitattman-blocks/)。

## 更新日志

#### 1.3.1 – April 2026

 * Fixed small bug in CSS class name of side-panel and button blocks.

#### 1.3.0 – April 2026

 * Fixed bugs and minor changes.

#### 1.2.0 – April 2026

 * Changed plugin name and slug.
 * updated readme.txt and LICENSE.

#### 1.1.0 – March 2026

 * Fixed some translation issues.
 * Removed blocks-manifest.php file and used block.json files instead.

#### 1.0.0 – February 2026

 * Initial release of _AitAttman Blocks_ plugin.

## 额外信息

 *  版本 **1.3.1**
 *  最后更新：**7 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.4 或更高版本 **
 *  已测试的最高版本为 **6.9.11**
 *  PHP 版本 ** 8.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/aitattman-blocks/)
 * 标签
 * [block-editor](https://cn.wordpress.org/plugins/tags/block-editor/)[buttons](https://cn.wordpress.org/plugins/tags/buttons/)
   [carousel](https://cn.wordpress.org/plugins/tags/carousel/)
 *  [高级视图](https://cn.wordpress.org/plugins/aitattman-blocks/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/aitattman-blocks/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/aitattman-blocks/reviews/)

## 贡献者

 *   [ Ahmed Ait Attman ](https://profiles.wordpress.org/aitattman/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/aitattman-blocks/)