Linux 软件免费装
Banner图

SugarCalc

开发者 sugarcalc
freemius
更新时间 2026年10月26日 10:00
PHP版本: 8.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

health calculator unit converter diabetes blood glucose

下载

详情介绍:

SugarCalc adds a blood glucose unit converter to any page or post on your WordPress site. Visitors enter their blood glucose reading and get an instant result in the other unit. All calculations happen in the browser. No reading ever leaves your visitor's device. The converter works with both mmol/L and mg/dL, the two units used in clinical practice worldwide. It follows published guidelines from the American Diabetes Association (ADA) and the National Institute for Health and Care Excellence (NICE) in the UK. Visitors select their diabetes type and indicate how recently they have eaten. The plugin uses that context to interpret their reading and present an appropriate result. Who is SugarCalc for? SugarCalc suits any WordPress site where blood glucose information matters. Privacy by design No reading, no value, and no visitor identifier ever leaves the browser. There is no server-side log of conversions. There are no analytics calls tied to a specific result. The converter works entirely with JavaScript running on your visitor's own device. Clinically grounded The converter applies the standard mathematical relationship between mmol/L and mg/dL. The contextual result guidance follows current ADA and NICE thresholds for adults with Type 1 and Type 2 diabetes, accounting for meal timing. Built for accessibility SugarCalc is designed to WCAG 2.1 AA. The colour contrast of every scheme has been audited against it. How to add it to a page Place the [sugarcalc] shortcode in any page, post, or widget area. The converter appears where the shortcode sits. It works in the block editor, in the classic editor, and in most page builders. What the free version includes SugarCalc Pro and SugarCalc Agency tiers SugarCalc Pro and SugarCalc Agency add professional colour schemes (including dark themes), custom clinical information links, corner and line styling options, and control over the "Powered by SugarCalc" credit. See sugarcalc.com for the full comparison. Third-party services SugarCalc includes the Freemius SDK, which runs our optional opt-in programme and handles our sales and licensing. Freemius states it does not sell personal data. Nothing is sent to Freemius unless you choose it. On first activation you will see a one-time prompt. If you click Skip, SugarCalc works in full and makes no connection to Freemius. If you opt in, on that prompt or later from the Opt In link on the Plugins screen, Freemius receives your name and email address; basic website details (homepage URL and title, WordPress and PHP versions, site language); and the versions of SugarCalc and the Freemius SDK, and whether SugarCalc is active, deactivated or uninstalled. The opt-in screen also offers to share a list of your installed plugins and themes (names, versions and whether each is active). That option starts switched off, and nothing from it is sent unless you switch it on. The Upgrade link opens the pricing section of sugarcalc.com in your browser. Viewing plans makes no connection from your site. Activating a licence connects to Freemius, because that is how licences are handled. The SugarCalc converter itself sends no data anywhere, under any circumstances. Freemius never receives blood glucose readings or anything entered into the converter. The bundled Freemius SDK is open source. Its complete, non-minified source code — including the pricing-page application that ships here in compiled form — is available from the Freemius WordPress SDK and Freemius pricing-page repositories. Credits Icons from Font Awesome Free, licensed under CC BY 4.0.

安装:

  1. Go to Plugins > Add New Plugin in your WordPress admin.
  2. Click Upload Plugin, select the SugarCalc zip file, and click Install Now.
  3. Click Activate Plugin.
  4. Visit SugarCalc > Settings to review the default configuration.
  5. Add [sugarcalc] as a shortcode to any page or post where you want the converter to appear.
You can also install by uploading the sugarcalc folder directly to /wp-content/plugins/ via FTP, then activating from the Plugins menu. Requirements

屏幕截图:

  • The SugarCalc converter on a page, showing a blood glucose conversion in progress with a 'Hypoglycaemia' indication.
  • The SugarCalc settings panel in the WordPress admin.

升级注意事项:

1.4.2 First public release on WordPress.org. No upgrade action is required.

常见问题:

What is the difference between the free and paid versions?

The free version includes the core blood glucose converter, the Minimal Mono colour scheme, and ADA and NICE clinical thresholds. SugarCalc Pro adds five professional colour schemes and email support. SugarCalc Agency adds six dark colour schemes, custom clinical information links (for hypoglycaemia, hyperglycaemia, ketoacidosis, and a general diabetes overview), corner and line styling, and control over the "Powered by SugarCalc" credit. Please visit sugarcalc.com for the full comparison and current pricing.

Does SugarCalc collect or store my visitors' blood glucose readings?

No. All conversions happen in the browser using JavaScript. No reading ever reaches a server. SugarCalc keeps no log of conversions and has no database of results. The only thing the converter keeps is one flag in the visitor's browser session (sessionStorage), which records that they have accepted the medical disclaimer so it isn't shown again on every page. It contains no reading, and the browser deletes it when the tab is closed.

Does SugarCalc connect to any external servers?

The converter never does. No blood glucose reading, calculation or anything you type is transmitted anywhere. The plugin contacts Freemius only when you choose to: by opting in, or by activating a licence. The Upgrade link opens sugarcalc.com in your browser. If you skip the opt-in, SugarCalc makes no external connections. See Third-party services above for exactly what opting in shares. For more details please see:

Is SugarCalc accessible?

SugarCalc is designed to WCAG 2.1 AA, and the colour contrast of every scheme has been audited against it.

Can I change the SugarCalc colours or style to match my brand?

The free version comes with our standard Minimal Mono theme, a clean black, grey, and white design. Additional colour schemes and styling controls are available in the paid tiers described above — please visit sugarcalc.com for details.

Does SugarCalc work on mobile phones?

Yes. The interface is responsive and works on phones and tablets of all sizes.

Does SugarCalc work with Elementor?

Yes. SugarCalc works with Elementor and other major WordPress page builders that support shortcodes. You can insert the converter using a simple shortcode.

How do I add the converter to a page?

Add [sugarcalc] as a shortcode to any page, post, or text widget. In the block editor, add a Shortcode block and type [sugarcalc] inside it. The converter will appear in place of the shortcode when the page loads.

Will SugarCalc slow my website down?

No. SugarCalc is very lightweight. SugarCalc loads its scripts and styles only on pages that include the [sugarcalc] shortcode. The converter front-end has zero external dependencies (no jQuery, no external API calls) and is built with modern, plain JavaScript. It makes no external CDN requests and no remote API calls during normal operation. The total asset footprint is very small.

What information does SugarCalc provide?

SugarCalc provides contextual, evidence-based information based on the entered reading. It covers scenarios such as hypoglycaemia, hyperglycaemia, and ketoacidosis. SugarCalc always includes a clear disclaimer that it is an informational tool, not a replacement for professional medical advice.

What blood glucose guidelines does the plugin use?

The plugin applies thresholds from the ADA (American Diabetes Association) and NICE (the National Institute for Health and Care Excellence in the UK). You can review the threshold values on our Blood Glucose Thresholds page.

The converter shows a medical disclaimer. What does that mean for my site?

SugarCalc displays a disclaimer stating that the tool provides general information only and is not medical advice. You should seek your own legal advice about the disclaimer wording for your jurisdiction and your specific audience.

Does SugarCalc offer support?

Yes. We offer email support on all SugarCalc Pro and SugarCalc Agency licences.

更新日志:

1.4.2 1.4.1 1.4.0 1.3.3 1.3.2 1.3.1 1.3.0 1.2.0 - 2025-12-11 1.1.0 - 2025-10-25 1.0.0 - 2024-08-08