| Summary | Rotating Composer Placeholder adds dynamic, rotating placeholder text to the Discourse composer, showing a different prompt each time the composer is opened. | |
| Repository Link | https://github.com/Ethsim12/discourse-rotating-composer-placeholder | |
| New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
Features
- Rotates the composer placeholder text each time the composer opens
- Works for:
- replies
- new topic composer
- Fully configurable via theme component settings
- No plugin required
- Client-side only (safe and lightweight)
- Uses modern
api-initializers
Install
-
In Discourse Admin, go to:
Admin → Appearance → Themes & components → Components → 3 dots -
Click Install.
-
Choose From a git repository.
-
Paste this repository URL and click Install.
Enable the theme component
Installing a theme component does not activate it automatically.
You must attach it to a theme.
-
Go to:
Admin → Appearance → Themes & components → Components → Rotating Composer Placeholder -
Click your active theme
(for example: “Default”, “Desktop”, or your custom theme). -
Press the green tick box.
-
Refresh your browser.
Once enabled, the component will immediately apply to that theme.
Configure the component
-
Still within the theme component’s page.
-
Edit the
rotating_placeholderslist.
Example values:
What did you try? Include steps to reproduce.One idea per reply. If it’s a new issue, start a new topic.Please include: expected result, actual result, and any errors.Tip: paste logs inside ```triple backticks```.
Notes:
- Each list entry becomes a possible placeholder.
- Empty entries are ignored.
- If the list is empty, a default placeholder is used.
Known limitations
- UI-only enhancement
- Does not affect post content
- Placeholder rotates when the composer opens
- Future composer refactors may require minor selector updates
Compatibility
- Designed for modern Discourse versions
- Recommended minimum: Discourse 3.2+
- Uses supported theme APIs only
Hosted by discourse.org?
Theme components are available on Discourse Standard, Business, and Enterprise plans.
