D11 Random Quote Loader
·
Display a random quote from your own database on every page load, with a full admin panel for managing quotes and CSV import/export.
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
