300+
March 29, 2026
August 18, 2015
XV Random Quotes helps you collect and display random quotes everywhere on your WordPress site. Built with modern WordPress standards using Custom Post Types, Gutenberg blocks, and the REST API.
🎯 Modern WordPress Integration
✨ Key Features
📦 Display Options
[stray-random], [stray-id], [stray-all] for posts and pagesstray_random_quote(), stray_a_quote() for theme integration/wp-json/xv-random-quotes/v1/quote/random for custom integrations🔄 Automatic Migration
Upgrading from v1.x? The plugin automatically detects the need of migrating your existing quotes to the new Custom Post Type system. The migration is always manual to prevent race conditions and duplicate imports. When the plugin is activated or updated, an admin notice prompts the user to start the migration via a button. The migration then processes quotes in batches via AJAX.
🎨 Customization
See RELEASE_NOTES.md for complete v2.0 features and migration guide.
Actually, these translations are not updated to the latest version.
I am looking for new localizers, all languages welcome!
Please note: the best way to submit new or updated translations is to send me a direct link to the localization files in the contact page of my website. This way the files are made available to the users sooner, and without waiting for a new release.
Please note: If you want to create a localized copy of XV Random Quotes, consider skipping the help page and translate the rest. This will save you quite some time. The help page has a lot of text.
None currently reported for v2.0. If you find an issue, please report it on GitHub.
Automatic Installation
Manual Installation
/wp-content/plugins/ directoryAfter Installation
Using Gutenberg Blocks
Using Widgets
Using Shortcodes
Add to any post or page content:
– [stray-random] – Display a random quote
– [stray-random categories="inspiration,wisdom"] – Random quote from specific categories
– [stray-id id="123"] – Display a specific quote
– [stray-all] – Display all quotes with pagination
See the Help page (Quotes > Help) for complete documentation.
Version 2.0 is a complete modernization using WordPress Custom Post Types, Gutenberg blocks, and REST API. All legacy features remain fully compatible.
No! The plugin automatically migrates all existing quotes from the old database table to the new Custom Post Type system. Categories, authors, and all metadata are preserved.
Yes! All legacy shortcodes work exactly as before: [stray-random], [stray-id], [stray-all], and template tags like stray_random_quote().
Yes! Enable AJAX in the widget settings. You can set a timer for automatic rotation or allow manual refresh with a click link.
Go to Quotes > Add New in your WordPress admin. Add the quote title, content (with basic formatting), author, source, and categories just like creating a post.
Yes! Use the Quote Categories taxonomy (similar to post categories). Assign multiple categories to each quote and filter by category in widgets, blocks, and shortcodes.
Yes! The plugin works with both the Block Editor and Classic Editor. Meta boxes are available for adding quote content and source in both editors.
Yes! Access random quotes via /wp-json/xv-random-quotes/v1/quote/random with parameters for categories, sequence, and more. Perfect for headless WordPress.
Yes! Go to Quotes > Settings to customize HTML wrappers, link formats, and styling options. You can also toggle native styling to use your theme’s styles.
Contributions are welcome! Visit the GitHub repository at https://github.com/xavivars/xv-random-quotes and submit pull requests or report issues.
See changelog.txt for complete version history.
| Version | Download | Type |
|---|---|---|
| 2.9.0 | Download | Stable |
| 2.8.0 | Download | Stable |
| 2.7.0 | Download | Stable |
| 2.6.1 | Download | Stable |
| 2.6.0 | Download | Stable |
| 2.5.0 | Download | Stable |
| 2.4.0 | Download | Stable |
| 2.3.0 | Download | Stable |
| 2.2.0 | Download | Stable |
| 2.1.0 | Download | Stable |
| 2.0.6 | Download | Stable |
| 2.0.5 | Download | Stable |
| 2.0.4 | Download | Stable |
| 2.0.3 | Download | Stable |
| 2.0.2 | Download | Stable |
| 2.0.1 | Download | Stable |
| 2.0.0 | Download | Stable |
| 1.41 | Download | Stable |
| 1.40 | Download | Stable |
| 1.38 | Download | Stable |
| 1.37 | Download | Stable |
| 1.36 | Download | Stable |
| 1.35 | Download | Stable |
| 1.34 | Download | Stable |
| 1.32 | Download | Stable |
| 1.29 | Download | Stable |
| 1.28 | Download | Stable |
| 1.26 | Download | Stable |
| 1.25 | Download | Stable |
| 1.24 | Download | Stable |
| 1.21 | Download | Stable |
| 1.20 | Download | Stable |
| Development | Download | Trunk |