Description
Daily Tonic gives your readers one minute of encouragement a day: a short thought, one tiny step they can take today, and a coach’s question to carry with them. This plugin shows today’s tonic on your site as a tidy card. Tomorrow it shows tomorrow’s, by itself.
- Three ways to place it: the “Daily Tonic” block (block editor and site editor), the shortcode
[daily_tonic], and a classic widget for sidebars. - Five languages: English, Bangla, Arabic, Urdu and Chinese. By default the card follows the language of your site. An Arabic or Urdu tonic is laid out right to left, even inside a left-to-right page.
- Nine reader versions of each day’s tonic: everyone, students, professionals, leaders and managers, business owners, parents, homemakers, retired people and job seekers.
- Light, dark or automatic colours (automatic follows the visitor’s device).
- You choose what shows: the length of the text, the tiny step, the question, the “Read more” link.
- Fast and dependable: your server fetches the tonic a few times a day and keeps a copy. Visitors’ browsers load nothing from another site. When the Daily Tonic service cannot be reached, the last tonic stays on screen.
- Quiet: no tracking, no cookies, no advertising, no notices in your dashboard. The two links that point to the Daily Tonic app and to its Follow page are off until you switch them on.
The words are encouraging, never shaming.
Shortcode
[daily_tonic] uses the choices of Settings → Daily Tonic Widget. Each can be changed for one card:
[daily_tonic lang="ar" version="parent" theme="dark" length="short"]
lang:en,bn,ar,ur,zhversion:all,student,professional,leader,business,parent,homemaker,retired,jobseekertheme:auto,light,darklength:short,medium,fullstep,question,more,app,follow:yesorno
External services
This plugin shows text that comes from the Daily Tonic service at coachmoshiur.com. Without that service there is nothing to show, so the plugin connects to it. The service is run by the author of this plugin (Coach Moshiur).
- What is requested:
https://coachmoshiur.com/tonic-today/<language>/<reader version>.json?tz=<your site's time zone>, for examplehttps://coachmoshiur.com/tonic-today/en/all.json?tz=Europe/London. The answer is today’s tonic, for your site’s date, as plain text. - When: when a page that contains the card is built and the copy your site keeps is older than three hours or from an earlier day, and when you press “Fetch today’s tonic again” on the settings page. In practice a few requests a day for each language and reader version you use. Nothing is requested when the plugin is active but no card is placed and the settings page is not opened.
- Who makes the request: your site’s server. Your visitors’ browsers do not contact coachmoshiur.com unless a visitor follows a link in the card.
- What is sent: the language, the reader version and your site’s time zone (as set in Settings → General; they are part of the address), and what every web request carries: your server’s IP address and the user agent
DailyTonicWidget/<plugin version>. No cookies, no address of your site, no personal data, nothing about your visitors or users. - Links in the card: “Read more” (and, if you switch them on, “Get Daily Tonic” and “Follow Daily Tonic”) lead to coachmoshiur.com. The “Read more” address ends in
?ref=wordpress, so the service can count how many readers arrive from WordPress sites. It does not say which site.
Terms of use of the service: https://coachmoshiur.com/daily-tonic-terms/
Privacy policy of the service: https://coachmoshiur.com/daily-tonic-privacy/
Installation
- In your WordPress dashboard go to Plugins → Add New Plugin, search for “Daily Tonic Widget”, then press Install Now and Activate.
- Open Settings → Daily Tonic Widget and choose the language, the readers and what the card shows. The page has a preview.
- Place the card: add the “Daily Tonic” block to a page, post or template; or add the “Daily Tonic” widget to a sidebar; or type
[daily_tonic]where it should appear.
FAQ
Does it cost anything?
No. The plugin and the tonics are free. There is no paid version.
When does the tonic change?
Once a day, at midnight in your site’s own time zone (Settings → General). Your site notices the new day by itself and fetches the new tonic with the next page view.
Does it slow down my pages?
No. The card is plain HTML with one small stylesheet; no JavaScript runs on your public pages and nothing is loaded from another server in the visitor’s browser. Your server keeps a copy of the tonic, so almost every page view needs no request at all. When a request is needed and the service is slow, the page waits three seconds at most, and then not again for at least five minutes.
What happens when coachmoshiur.com cannot be reached?
The card keeps showing the last tonic it received (for up to a week). If there has never been one, visitors see nothing in its place, and people who can edit the site see a short note.
Which languages are there?
English, Bangla, Arabic, Urdu and Chinese. When a day has no tonic in the chosen language yet, the English tonic of that day is shown, marked as English so that screen readers and browsers treat it correctly.
Can I show an Arabic or Urdu tonic on an English site?
Yes. Choose the language in the block, the widget or the shortcode (lang="ar"). The card sets its own language and direction, so it reads right to left while the rest of your page stays as it is.
Does the plugin add links to my site?
The card has a “Read more” link to the whole tonic, which you can switch off. Links to the Daily Tonic app and to the Follow page appear only if you switch them on in the settings. Nothing else is added.
Does it collect data about my visitors?
No. The plugin sets no cookies, stores nothing about visitors and sends nothing about them anywhere. See “External services” above for the one request your server makes.
I use a page cache. Will the card still change every day?
The card is part of your page, so a cached page shows the tonic it was built with. Most cache plugins rebuild pages at least once a day; if yours keeps pages longer, set it to refresh the page with the card daily.
What is removed when I delete the plugin?
Its settings, the kept copies of the tonic and its scheduled refreshes. Blocks and shortcodes you placed stay in your content; remove them from the pages where you used them.
Screenshots
Changelog
1.0.0
- First release: block, shortcode and classic widget; five languages; nine reader versions; light, dark and automatic colours.




