Skip to content
bmlt-enabledPublic

About

NA Cleantime Calculator

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

NACC WordPress Plugin

A WordPress plugin implementation of the N.A. Cleantime Calculator. Add the [nacc] shortcode to any page or post to embed an interactive cleantime calculator with keytag display.

For standalone (non-WordPress) usage, see nacc2/README.md.

Installation

  1. Download the latest nacc-wordpress-plugin.zip from the releases page or install directly from the WordPress plugin directory.
  2. Upload and activate through the WordPress admin under Plugins.
  3. Add [nacc] to any page or post.
  4. Optionally configure defaults under Settings → NACC.

Shortcode Attributes

All attributes are optional. Defaults can be set in Settings → NACC.

Attribute Values Default
theme See themes below Default (gray)
language See languages below en
layout linear, tabular linear
special 1, 0 0

Example: [nacc theme="NACC-BT" language="es" layout="tabular" special="1"]

Themes

Value Description
(empty) Default gray
NACC-BT Blue and white
NACC-CRNA CRNA
NACC-GNYR2 Light blue (Greater New York Region)
NACC-HOLI Black and red (Heart of Long Island)
NACC-Lantern Warm parchment + terracotta (matches the Lantern WordPress theme)
NACC-NERNA NERNA
NACC-SEZF SEZF

Languages

Code Language
en English (default)
da Danish
de German
el Greek
es Spanish
fa Persian
fi Finnish
fr French
hi Hindi
it Italian
ja Japanese
ne Nepali
pl Polish
pt Portuguese
ru Russian
sv Swedish
zh-Hans Simplified Chinese
zh-Hant Traditional Chinese

Requirements

  • PHP 8.0+
  • WordPress 5.3+

Contributing

See CONTRIBUTING.md for development setup, code standards, and the release process.

License

GPL v2 or later. See readme.txt for full license details.

Note: The name "Narcotics Anonymous" and the NA symbol are registered trademarks of NAWS. Use of this plugin is intended for registered NA Service bodies. See nacc2/README.md for details.

About

NA Cleantime Calculator

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages