
內容簡介
D11 Random Quote Loader 是一款經典的 WordPress 外掛,能在每次頁面加載時從自訂資料庫表中隨機顯示一則名言。使用者可透過控制台輕鬆管理名言,並立即啟用。
【主要功能】
• 隨機顯示名言,使用高效的 COUNT + OFFSET 策略
• 完整的管理面板,可新增、編輯及刪除名言
• 支援 CSV 匯出與匯入,方便批量管理名言
• 使用乾淨的語意化 HTML 輸出,便於佈景主題樣式調整
• 提供 [d11rql_random_quote] 短碼,可在任何文章或小工具中插入名言
• 名言分類功能,能在不同頁面或側邊欄顯示不同名言集
外掛標籤
開發者團隊
原文外掛簡介
D11 Random Quote Loader adds a classic WordPress widget that pulls a random quote from a custom database table each time a page loads.
Quotes are managed entirely from within your WordPress dashboard, and the plugin ships with three sample quotes so it works immediately after activation.
Features:
Displays a random quote on every page load using an efficient COUNT + OFFSET strategy (not ORDER BY RAND())
Full admin panel — add, edit, and delete quotes without touching code
CSV Export — download all your quotes as a spreadsheet-compatible .csv file
CSV Import — bulk-upload quotes with automatic encoding detection (UTF-8 and Windows-1252 / Excel), BOM stripping, per-row validation, and a 5,000-row safety limit
Clean, semantic HTML output using blockquote, p, and cite elements — easy to style with your theme’s CSS
Fully internationalised — every string is ready for translation via the d11-random-quote-loader text domain
Safe uninstall — drops the custom table only when the plugin’s own signature column is detected
Security hardened — nonces on every form, current_user_can() capability checks, full output escaping, and wp_rand() throughout
[d11rql_random_quote] shortcode — insert a random quote into any post, page, or text widget
Quote categories — tag quotes and display different sets on different pages or sidebars
