這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Callout

外掛說明

The Callout Block plugin registers a WordPress block that allows you to add a styled box for featured content to your WordPress block editor.

Key Features

  • Includes 200+ icons powered by Heroicons
  • Use custom icons (loaded from SVG string or link)
  • Design your callout block using inner blocks
  • Transform your callout block to a reusable block
  • Compatible with the Site Editor

Development

螢幕擷圖

  • Callout with an icon from the library.
  • Callout with a custom icon (The icon was inserted from a link).
  • Callout with more styling. The icon is bigger, the block has a border radius and a left border. The paragraph and button were moved by modifying their custom attributes.
  • Icon Library.
  • Custom SVG (SVG string and preview). You can insert SVG string or from a link.

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Callout Insert a styled box for featured content.

安裝方式

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/callout-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Inside the Block Editor, search the “Callout” block and insert it.

常見問題集

Can I use custom icons?

Yes. Open the modal with the icons, go to the “Custom SVG” tab and insert your SVG string or a link (the extension must end with .svg). After that, click on “Insert” button and the icon will be inserted and can be styled.

Can be this block reusable?

Yes. Transform your callout box to a reusable block as usual. Then, if you want to use it later in a post or page, insert it from the reusable blocks section.

If you want to edit the content for the reusable block, you have to transform your block to a regular block. If you don’t do that, the callout box will be updated across your website (unless if that’s what you want it).

使用者評論

2024 年 1 月 27 日
First hit on Google search when I tried 'wordpress block editor callout panel'. Installation instructions were clear and straightforward, even to someone like me who's a non-developer and haven't uploaded a plugin before. Incredibly customisable with colours and icons. The GitHub repo is also open, for transparency. Thank you very much for developing this!
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Callout〉的開發相關工作。

參與者

將〈Callout〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.0

This version is only compatible with WP 6.2 or higher. If you are using WP 6.1, please use the previous version.

Also, attempt to recovery the block if it’s broken after update.

  • FIX: Flex property missing after update WP 6.2 (#5)

1.0.0

  • Initial release