| 开发者 | briz_dad |
|---|---|
| 更新时间 | 2026年5月29日 14:05 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Navigate to Quotes in your WordPress admin sidebar. Use the form at the top of the page to add a new quote and an optional author name.
Yes. Prepare a .csv file with two column headers: quote and author. Use the Import CSV section at the bottom of the Quotes admin page. The import replaces all existing quotes and supports up to 5,000 rows. Files saved from Excel (Windows-1252 encoding) are converted automatically.
Click Export to CSV on the Quotes admin page. The file downloads immediately.
Yes. The widget outputs a blockquote.rqw-quote element containing a p.rqw-quote-text and, when an author is present, a cite.rqw-quote-author. Target these CSS classes in your theme's stylesheet.
No. Deactivating the plugin leaves the database table intact. Quotes are only deleted when you choose Delete on the Plugins screen, which triggers the uninstall routine.
Yes. All user-facing strings use the d11-random-quote-loader text domain and are ready for translation via .po/.mo files in the /languages/ folder, or via translate.wordpress.org.
PHP 7.4 or higher. PHP 8.0+ is fully supported and recommended.
Place [d11rql_random_quote] anywhere in a post or page. Available parameters: [d11rql_random_quote] [d11rql_random_quote title="Daily Quote"] [d11rql_random_quote category="inspiration"] [d11rql_random_quote title="Food for Thought" category="philosophy"] The shortcode outputs a div.rqw-shortcode wrapper containing a blockquote.rqw-shortcode-quote element, and an h3.rqw-shortcode-title when a title is provided.
Assign a category name to any quote when adding or editing it in the Quotes admin page. Then use [d11rql_random_quote category="your-category"] in a shortcode, or set a category in the widget settings. Quotes with no category assigned are treated as uncategorized and will appear in all category queries as a fallback.