Text Us Widget
An iOS-style "Text Us" button that opens Messages on iPhone, iPad and Mac (and Android, if you like), with Cloudflare Turnstile to hide your number from bots and tap tracking by device and page.
Screenshots
Text Us Widget adds a small iOS-style "Text Us" button to the corner of your site. Tapping it opens a panel, and the Send button opens the visitor's Messages app with your number already filled in, ready to type. People who would never fill in a contact form will send a text, and texts are easier for your front desk to answer between appointments.
It only shows up where texting works. iPhone, iPad and Mac all have Messages built in, so those are switched on by default and get the iMessage icon. Android phones open their own texting app and get the Android Messages icon instead. Windows and other computers stay hidden unless you tick them, because most can't open text links. The device check happens in the visitor's browser, so it works with page caching.
Turn on Cloudflare Turnstile and your number is never in the page's code, so scrapers can't harvest it for spam lists: the panel runs a quick, usually invisible human check, and only then does your site send the number back. "Load on first interaction" keeps PageSpeed Insights from ever seeing the widget, and a small cookie makes it appear straight away on a visitor's later page views. Every open and text is counted by day, device and page. Find it under Content Powered > Text Us Widget.
Features
- Opens Messages. The Send button opens the visitor's texting app with your number filled in, and an optional pre-filled message.
- Only where texting works. On for iPhone, iPad and Mac by default; Android, Windows and other computers are one tick away.
- The right icon. iMessage on Apple devices, Android Messages on Android, or your own site icon.
- Bot-proof number. With Cloudflare Turnstile on, your number is never in the page until a real person passes the check.
- PageSpeed-safe. Loads on the first scroll, tap or mouse move, so speed tests never see it, then straight away on later page views.
- Tap tracking. Opens, passed checks and texts by day, device and page, with optional Google Analytics 4 events.
- Your look. Dark, light or automatic, your button color, either corner, and a bar or compact button on phones.
- Live preview. See the widget on iPhone, Android and Mac as you change the settings.
- Click Download above to save
text-us-widget.zip. Leave it zipped. - In your WordPress dashboard, go to Plugins > Add New Plugin and click Upload Plugin.
- Choose the ZIP and click Install Now, then Activate Plugin.
To update later, upload a newer ZIP the same way. WordPress offers to replace the installed version and keeps your settings.
Why Doesn't It Show on My Windows Computer?
Text links open Messages on iPhone, iPad and Mac, and the texting app on Android phones. Most Windows computers can't open them unless Phone Link is set up, so Windows is off by default. You can switch it on, and show the number under the button so people can copy it.
Will It Slow My Site Down?
No. With "Load on first interaction" on (the default), nothing is added until the visitor scrolls, taps or moves the mouse, so PageSpeed Insights never sees it. The whole widget is about 6 KB, and Turnstile only loads when someone opens the panel.
How Does Turnstile Protect My Number?
Without it, your number is in the page's code like any other link, where scrapers can read it. With Turnstile on, the number stays on your server until Cloudflare confirms a person opened the panel. Turnstile is free and usually needs no clicks.
Do I Need to Use Cloudflare for My Site?
No. You need a free Cloudflare account to get the two Turnstile keys, and that's all. The settings page links to the right screen and can test the keys for you.
Can I Open It From My Own Button?
Yes. Link any button or menu item to #text-us and it opens the panel, or goes straight to Messages if you've chosen to skip it.
How Do I Get Updates?
Through the normal WordPress Updates screen. The plugin checks our GitHub releases twice a day, and you can update with one click or turn on auto-updates.
1.0.0
- First release.
- See https://github.com/jmsprsns/text-us-widget/releases for the full release history.
Download
More Free WordPress Plugins
Thumbnail Size Manager
See every image size your site makes, where each one came from, how many files it has and whether anything uses it. Switch off the sizes you don't need, clean up their files after a dry run, and regenerate the rest.Phone Click Tracking
See which pages, traffic sources and campaigns make people call or text you. Every tel:, sms:, WhatsApp and email click is logged in WordPress, with Google Business Profile and AI referrals, a Google Ads conversion export and client reports.Disable Plugins Per Page
Turn plugins off on the pages that don't need them, before they load: rules by page, post type, URL pattern or device, admin rules, a test mode, safe recovery and before-and-after numbers. Free, with no Pro tier.Let's Grow Your Business
Want some free consulting? Let's hop on a call and talk about what we can do to help.
