
外掛標籤
開發者團隊
原文外掛簡介
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, zh
version: all, student, professional, leader, business, parent, homemaker, retired, jobseeker
theme: auto, light, dark
length: short, medium, full
step, question, more, app, follow: yes or no
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/
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/
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/
