Linux 软件免费装
Banner图

Daily Tonic Widget

开发者 murad073
更新时间 2026年11月28日 05:35
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

daily quote of the day habits motivation self improvement

下载

1.0.0

详情介绍:

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. 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"]

安装:

  1. In your WordPress dashboard go to Plugins → Add New Plugin, search for "Daily Tonic Widget", then press Install Now and Activate.
  2. Open Settings → Daily Tonic Widget and choose the language, the readers and what the card shows. The page has a preview.
  3. 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.

屏幕截图:

  • An Arabic tonic, right to left, in dark colours.
  • The "Daily Tonic" block in the editor with its choices.
  • Settings → Daily Tonic Widget, with the preview.

升级注意事项:

1.0.0 First release.

常见问题:

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.

更新日志:

1.0.0