diff --git a/nacc-wordpress-plugin.php b/nacc-wordpress-plugin.php index 2648118..9de76e1 100644 --- a/nacc-wordpress-plugin.php +++ b/nacc-wordpress-plugin.php @@ -6,7 +6,7 @@ * Install: Drop this directory in the "wp-content/plugins/" directory and activate it. You need to specify "[NACC]" in the code section of a page or a post. * Contributors: BMLTGuy, pjaudiomv, bmltenabled * Authors: bmltenabled - * Version: 6.0.1 + * Version: 6.0.2 * Requires PHP: 8.0 * Requires at least: 5.3 * License: GPL v2 or later @@ -464,6 +464,71 @@ public static function draw_settings(): void { + +
+ +

How to Use

+

+ Add the [nacc] shortcode to any page or post to embed the cleantime + calculator. The settings above are the site-wide defaults used whenever the + shortcode is placed without attributes. +

+ +

Shortcode Attributes

+

+ All attributes are optional. Any attribute you set on the shortcode overrides the + saved default above for that instance only, so you can display the calculator + differently on different pages. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeValuesDefault
themeSee the Theme dropdown aboveDefault (gray)
languageSee the Language dropdown aboveen
layoutlinear, tabularlinear
special1, 00
+

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

+ +

What Each Setting Does

+ + +

+ For standalone (non-WordPress) usage, see the + nacc2/README.md + documentation included with this plugin. +