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 { + +
+ 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.
+
+ 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. +
+| Attribute | +Values | +Default | +
|---|---|---|
theme |
+ See the Theme dropdown above | +Default (gray) | +
language |
+ See the Language dropdown above | +en |
+
layout |
+ linear, tabular |
+ linear |
+
special |
+ 1, 0 |
+ 0 |
+
+ Example:
+ [nacc theme="NACC-BT" language="es" layout="tabular" special="1"]
+
linear shows tag fronts in a single row; tabular shows the tags side-by-side with their rear text.+ For standalone (non-WordPress) usage, see the + nacc2/README.md + documentation included with this plugin. +