[WordPress] 外掛分享: Display a Quote

首頁外掛目錄 › Display a Quote
WordPress 外掛 Display a Quote 的封面圖片
10+
安裝啟用
尚無評分
10 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v2.2 上架:2025-05-08

內容簡介

Display a Quote 是一款輕量級的 WordPress 外掛,能隨機顯示名言,增添網站內容的吸引力。使用者可透過區塊、短碼或小工具輕鬆展示名言,並可依類別組織與自訂顯示樣式。

【主要功能】
• 輕量且免費的外掛
• 支援區塊編輯器與經典編輯器
• 透過區塊、短碼或小工具顯示名言
• 可依類別組織名言
• 自訂名言顯示樣式
• 提供活躍的開發者支援

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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 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!

延伸相關外掛

文章
Filter
Apply Filters
Mastodon