AJB Random Quote Cards lets you build a library of quotes and display them anywhere on your site as styled cards. Every page load can show a different random quote, or you can use Quote of the Day mode to show the same quote for a full 24 hours before rotating.
Quotes are managed through a clean, purpose-built form — no Gutenberg editor confusion. Add your quote text, author, an optional link, assign categories, and mark favourites, all in one clear screen.
Key features:
- Display quotes using a simple shortcode or a native Gutenberg block
- Random mode — a new quote on every page load
- Quote of the Day mode — one quote per day, cached for performance
- Full typographic control — font, size, colour, style, and weight for both quote and author text
- Google Fonts support — type any font name and it loads automatically
- Copy to clipboard button on every card
- Optional “Learn More” external link per quote
- Categories — organise quotes and filter by category in the shortcode or block
- Favourites — mark quotes and display only favourites when you want
- Author prefix and suffix — customise how the author name is presented
- Four layout modes — block centre, block left, block right, and inline
- Per-card style overrides — every visual setting can be changed per shortcode or block
- Responsive — cards never overflow on mobile
- CSV bulk import and export — with multi-category support using pipe or comma separators
- 15 sample quotes included on activation so you can see it working straight away
- Conditional asset loading — CSS and JS only load on pages that actually use a quote card
Gutenberg block:
The native “Random Quote” block (found under Widgets in the block inserter) gives you all the same options as the shortcode, configured directly in the Inspector sidebar — no code needed.
Shortcode:
The basic shortcode is simply [ajbq_quote]. Use the built-in Shortcode Builder page to generate your shortcode visually with colour pickers and a live preview, then copy it with one click.