开发者 | Guido07111975 |
---|---|
更新时间 | 2025年5月24日 19:42 |
PHP版本: | 6.0 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv3 |
版权网址: | 版权信息 |
[daquote]
to a page to display your random quote.
You can customize your quote display 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.
Attributes
You can customize your quote display by adding attributes to the block or the shortcode.
quote_cat="your-category-slug"
quote_cat="first-category-slug, second-category-slug"
quote_author="false"
no_quotes_text="your text"
[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"
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!
The plugin will use the website language, set in Settings > General.
Plugin has no settings page. Use the block or shortcode with attributes to make it work.
You can import quotes from a JSON or XML file. Make sure quote author and quote text are separate items in your file.
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.