Responsive Text
Shows different text at a chosen breakpoint and below, without duplicating elements. The normal element content shows above the breakpoint; your alternative text shows at and below it.
Version: 1.2.1 · Requires: WordPress 6.0+, PHP 7.4+, Bricks · See the live demo
What it does
Adds a Responsive Text group to the Content tab of:
- Heading
- Basic Text
- Rich Text
- Button
- Text Link / Link (where the installed Bricks version has them)
Installation
- In WordPress admin go to Plugins → Add New Plugin → Upload Plugin.
- Choose the zip and click Install Now, then Activate. Bricks must be active.
Settings
- Responsive Text — empty. Heading, Basic Text, Button and Links get a plain-text field. Rich Text gets a rich-text editor. If left empty, the element is untouched.
- Switch at — Mobile (≤ 767px, default), Tablet (≤ 991px). The alternative shows at this width and below.
Plain-text fields are escaped. Only Rich Text allows HTML (filtered as post content).
Accessibility
The inactive version is marked aria-hidden and the active one is exposed, so a screen reader reads only what is visible. Buttons and links keep a single native element, so the URL and semantics are unchanged.
Quick start
- Select a Heading, Button or other supported element.
- On the Content tab open Responsive Text and type the shorter wording.
- Choose Switch at. Visitors at that width and below see the alternative.
Examples
- A heading that reads Wildlife photography holidays in Scotland on desktop and Scotland wildlife trips on mobile.
- A button labelled Book your place on a guided tour that becomes Book now on phones.
Tips
- Leave the field empty on elements that don’t need a different mobile version; they stay untouched.
- Use Rich Text only where you need links or emphasis in the alternative text; plain fields are safer.
- Check both widths, since the original and alternative are different lengths and can change line breaks.
Known limits
- The switch uses fixed widths (767px and 991px), not your Bricks breakpoint settings.
- The swap is done in the browser, so the original text is what search engines and no-JavaScript visitors see.