Title: Display a Quote
Author: Guido
Published: <strong>2025 年 5 月 9 日</strong>
Last modified: 2026 年 5 月 25 日

---

搜尋外掛

![](https://ps.w.org/display-a-quote/assets/banner-772x250.png?rev=3290668)

![](https://ps.w.org/display-a-quote/assets/icon-256x256.png?rev=3290668)

# Display a Quote

 由 [Guido](https://profiles.wordpress.org/guido07111975/) 開發

[下載](https://downloads.wordpress.org/plugin/display-a-quote.2.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/display-a-quote/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/display-a-quote/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/display-a-quote/#developers)

 [技術支援](https://wordpress.org/support/plugin/display-a-quote/)

## 外掛說明

#### About

With this lightweight plugin you can display a random quote at your website.

Main features of the plugin:

 * Free and lightweight
 * Support for Block Editor and Classic Editor
 * Display your random quote with block, shortcode or widget
 * Organize quotes with categories
 * Customize your quote display via the settings page or with attributes
 * Documentation at WP plugin page
 * Active support from developer at WP forum

#### How to use

After installation go to menu item “Quotes” and create some quotes. Use title field
for the quote author and content field for the quote itself.

You can organize your quotes with categories. This makes it possible to display 
multiple blocks, shortcodes or widgets with different kind of quotes.

Go to the editor and add the Display a Quote block or the shortcode `[daquote]` 
to a page. This will display your random quote.

Or go to Appearance > Widgets and use the Display a Quote widget.

It’s also possible to add an image to your quote.

When using the block editor, use the Media & Text block. Or the Image block, if 
the image also contains the quote text.

When using the classic editor, add the image with the “Add media” button next to
the quote text and align it the way you want.

Customize your quote display via the settings page or with attributes.

#### Settings page

The settings page is located at Settings > Display a Quote.

#### Attributes

You can customize your quote display by adding attributes to the block, shortcode
or widget.

 * Display quotes from a certain category: `quote_cat="your-category-slug"`
 * Display quotes from multiple categories: `quote_cat="first-category-slug, second-
   category-slug"`
 * Hide quote author: `quote_author="false"`
 * Change the “no quotes are found” text: `no_quotes_text="your text"`

Example: `[daquote quote_cat="your-category-slug" quote_author="false"]`

When using the block or the widget, don’t add the main shortcode tag or the brackets.

Example: `quote_cat="your-category-slug" quote_author="false"`

The “Hide quote author” attribute will override the settings page.

#### Have a question?

Please take a look at the FAQ section.

#### Translation

Translations are not included, but the plugin supports WordPress language packs.

More [translations](https://translate.wordpress.org/projects/wp-plugins/display-a-quote)
are very welcome!

The translation folder inside this plugin is redundant, but kept for reference.

#### Credits

Without help and support from the WordPress community I was not able to develop 
this plugin, so thank you!

## 螢幕擷圖

 * [[
 * Quote display
 * [[
 * Single quote (dashboard)
 * [[
 * Page with block (dashboard)
 * [[
 * Widget (dashboard)
 * [[
 * Quotes page (dashboard)
 * [[
 * Settings page (dashboard)

## 適用於區塊編輯器

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

 *   Display a Quote

## 常見問題集

### How do I set plugin language?

The plugin will use the website language, set in Settings > General.

### Can I import quotes?

You can import quotes from a JSON or XML file. Make sure quote author and quote 
text are separate items in your file.

 * Install an import plugin that supports custom post types
 * Choose the (custom) post type daquote/quotes
 * Match fields (title = quote author, description = quote text)
 * Run the import

### Why is the quote display different between themes?

The plugin uses minimal styling and therefore also depends on the styling of your
theme.

### How can I change the layout or colors?

You can use page Additional CSS of the Customizer for your custom styling.

### Why is there no semantic versioning?

The version number won’t give you info about the type of update (major, minor, patch).
You should check the changelog to see whether or not the update is a major or minor
one.

### How can I make a donation?

You like my plugin and want to make a donation? There’s a PayPal donate link at 
my website. Thank you!

### Other questions or comments?

Please open a topic in the WordPress.org support forum for this plugin.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

 *   [ Guido ](https://profiles.wordpress.org/guido07111975/)

〈Display a Quote〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/display-a-quote/contributors)
為這個外掛做出的貢獻。

[將〈Display a Quote〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/display-a-quote)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/display-a-quote/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/display-a-quote/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/display-a-quote/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/display-a-quote/)。

## 變更記錄

#### Version 2.2

 * Fix: typo
 * Updated file uninstall

#### Version 2.1

 * Textual changes
 * Minor changes in code

#### Version 2.0

 * Minor changes in code

#### Version 1.9

 * Added support for ClassicPress
 * The block will only load in WP 6.3 and higher
 * Reverted the “Requires at least” version to 6.0

#### Version 1.8

 * Minor changes in code

#### Version 1.7

 * New: display your random quote in a widget

#### Version 1.6

 * Full rewrite of the block
 * It now supports the Block API version 3
 * Bumped the “Requires at least” version to 6.3

#### Version 1.5

 * Fixed errors flagged by PCP
 * Minor changes in code

#### Version 1.4

 * New: settings page
 * Added file uninstall (to remove quotes and settings from database)
 * Added date column
 * Minor changes in code

#### Version 1.3

 * Removed wrong header from main plugin file

For all versions please check file changelog.

## 中繼資料

 *  版本 **2.2**
 *  最後更新 **2 週前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [Dutch](https://nl.wordpress.org/plugins/display-a-quote/) 及 [English (US)](https://wordpress.org/plugins/display-a-quote/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/display-a-quote)
 * 標籤:
 * [ClassicPress](https://tw.wordpress.org/plugins/tags/classicpress/)[quotation](https://tw.wordpress.org/plugins/tags/quotation/)
   [quote](https://tw.wordpress.org/plugins/tags/quote/)[quotes](https://tw.wordpress.org/plugins/tags/quotes/)
 *  [進階檢視](https://tw.wordpress.org/plugins/display-a-quote/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/display-a-quote/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/display-a-quote/reviews/)

## 參與者

 *   [ Guido ](https://profiles.wordpress.org/guido07111975/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/display-a-quote/)