| 开发者 | indesignmedia |
|---|---|
| 更新时间 | 2026年9月2日 22:27 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.3 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[id_popular_quotes] for one random quote and [id_popular_quotes_carousel] for a fading slideshow.layout attribute uses that default.[id_popular_quotes]
Pick a specific layout:
[id_popular_quotes layout="neon-glow"]
Fading carousel:
[id_popular_quotes_carousel]
Carousel with a specific layout and speed (seconds per slide):
[id_popular_quotes_carousel layout="glass" speed="5"]
Every layout works for both the single shortcode and the carousel.
The admin (Quotes Studio)
The settings screen lives under ID Quotes in the main WordPress admin menu. It has two tabs:
indesign-random-quotes folder to /wp-content/plugins/, or install the zip from the Plugins screen.[id_popular_quotes] into any page, post, or shortcode-aware widget.Paste [id_popular_quotes] into any page, post, or shortcode-aware widget. Each page load picks a fresh random quote from your active list.
Open ID Quotes in the admin menu, make sure Manual is selected, and use the "Add a new quote" form. Type the quote, type the author, click Add. It appears in the list below as a card.
No. Everything on the settings screen saves automatically as you click, type, edit, or drag. A small toast in the corner confirms each save.
Yes. Each quote card has a pencil icon (edit inline) and a trash icon (delete). Both save straight away.
Yes. Grab the six-dot handle on the left of any card and drag it up or down. The new order saves automatically.
Open the Layouts tab and click any preview card. That layout becomes the site-wide default, and any shortcode without a layout attribute uses it from then on. The status banner at the top of the page updates instantly.
Add the layout attribute with the layout slug, for example [id_popular_quotes layout="typewriter"] or [id_popular_quotes_carousel layout="cyber-punk"]. Layouts set this way override the site-wide default for that shortcode only.
Manual serves only the quotes you add. Universal serves the built-in list of 100 popular quotes. Switch between them at any time by clicking the mode card. Your manual quotes stay saved even when Universal is active.
The plugin falls back to the built-in universal list, so visitors never see a blank space.
Use [id_popular_quotes_carousel] and add speed="10" in seconds to control the interval. For example, [id_popular_quotes_carousel layout="glass" speed="5"] fades every five seconds.
Yes. Each one runs on its own, so different layouts and carousels can coexist on the same page.
Open the Layouts tab. Each preview card has two ready-to-copy shortcodes: one for the single quote and one for the carousel. Click either to copy.
Yes. In the admin, switch to Universal mode and use the search box above the list to filter by quote text or author name.
Yes. The shortcodes work in any builder that supports shortcodes. In Elementor, use a Shortcode widget or Text Editor. In Divi, use a Code module. In Beaver Builder, use a Text module.
No. The front end loads one small CSS file and adds no JavaScript unless a carousel is on the page. Quotes are stored in a WordPress option, so there are no extra database queries per page load.
Your quotes and settings stay in the database, so if you reactivate the plugin later everything is exactly where you left it.
No. The admin uses vanilla JavaScript. The front end loads a single small CSS file and only prints a tiny inline script when you use the carousel shortcode.
layout attribute fall back to this setting.includes/ folder.includes/ folder with per-concern files.wp_rand() replaces rand(). Strict allowlist for mode. Capability check on the settings screen.[id_popular_quotes_carousel] shortcode for a fading slideshow.layout attribute for design variants.