Display a Quote
With this lightweight plugin you can display a random quote at your website.
Plugin info
Maintenance & Compatibility
Maintenance score
Actively maintained • Last updated 57 days ago
Is Display a Quote abandoned?
Likely maintained (last update 57 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
About
With this lightweight plugin you can display a random quote at your website.
To display your quote you can use a block or a shortcode.
You can customize your quote display via the settings page or with attributes.
How to use
After installation go to menu item “Quotes”. You can add your quotes here. The title field should be the quote author.
You can organize your quotes with categories. This makes it possible to display multiple blocks or shortcodes with different kind of quotes.
Add the Display a Quote block or the shortcode [daquote] to a page to display your random quote.
You can customize your quote display via the settings page or with attributes.
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 there’s no quote text to be added.
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.
Settings page
You can customize your quote display via the settings page. This page is located at Settings > Display a Quote.
Attributes
You can customize your quote display by adding attributes to the block or the shortcode.
- 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, 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.
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!
Installation
Frequently Asked Questions
The plugin will use the website language, set in Settings > General.
You can import quotes from a JSON or XML file. Make sure quote author and quote text are separate items in your file.
- Install an import plugin that supports custom post types
- Choose the (custom) post type daquote/quotes
- Match fields (title = quote author, description = quote text)
- Run the import
The plugin uses minimal styling and therefore also depends on the styling of your theme.
You can use page Additional CSS of the Customizer for your custom styling.
Yes you can! Obviously you cannot use the block, so use the shortcode instead.
The version number won’t give you info about the type of update (major, minor, patch). You should check the changelog to see whether or not the update is a major or minor one.
You like my plugin and want to make a donation? There’s a PayPal donate link at my website. Thank you!
Please open a topic in the WordPress.org support forum for this plugin.
Review feed
Changelog
Version 1.5
- Fixed errors flagged by PCP
- Minor changes in code
Version 1.4
- New: settings page
- Added file uninstall (to remove quotes and settings from database)
- Added date column
- Minor changes in code
Version 1.3
- Removed wrong header from main plugin file
Version 1.2
- Minor changes in code
Version 1.1
- Changed shortcode name into “daquote”
- New: setting to disable categories column
- Minor changes in code
Version 1.0
- First stable release




