Skip to content

Add usage documentation to the NACC settings page#27

Merged
pjaudiomv merged 1 commit into
mainfrom
feature/nacc-26-settings-usage-docs
Jul 17, 2026
Merged

Add usage documentation to the NACC settings page#27
pjaudiomv merged 1 commit into
mainfrom
feature/nacc-26-settings-usage-docs

Conversation

@dgershman

Copy link
Copy Markdown
Contributor

Closes #26

What

Adds a How to Use help section to the Settings → NACC admin page (draw_settings()), so new admins learn to place the [nacc] shortcode without leaving the dashboard.

The section covers:

  • How to embed — add [nacc] to any page/post; the settings on the page are the site-wide defaults.
  • Shortcode attributes — a table of theme / language / layout / special mirroring README.md, noting each attribute overrides the saved default per-instance.
  • What each setting does — one line per control (Theme / Language / Layout / Show Special Keytags).
  • Standalone usage — link to the bundled nacc2/README.md (via plugins_url()).

Copy is mirrored from the existing source of truth (README.md / nacc2/README.md) rather than reworded. Output escaping follows the existing draw_settings() conventions: static admin markup plus esc_url() for the README link. make lint (phpcs, WordPress-Core) passes clean.

Scope

Change is limited to the settings-page help copy and the readme.txt / version bump. No keytag render or specialty-toggle behavior is touched — that's #24/#25.

⚠️ Shared version bump with #24 / #25

Per the ticket, the version bump + readme.txt changelog is meant to be done once for the combined #24/#25/#26 set. Since #24 and #25 have no PRs yet, this PR lands #26 alone with the smallest correct bump: 6.0.1 → 6.0.2 (plugin header + Stable tag) and one changelog entry.

If #24/#25 land in the same release, please fold this bump into the combined one rather than double-bumping — the 6.0.2 changelog entry / Stable tag here can be merged/superseded as needed. Flagging so merge order can be managed.

Surface how to use the plugin directly on the Settings → NACC admin page
(closes #26):

- "How to Use" section explaining the [nacc] shortcode and that the
  settings on the page are the site-wide defaults.
- Shortcode attribute table (theme, language, layout, special) mirroring
  README.md, noting attributes override the saved defaults per-instance.
- One-line description of each control (Theme / Language / Layout /
  Show Special Keytags).
- Link to the bundled nacc2/README.md for standalone (non-WordPress) usage.

Bump version to 6.0.2 and add a readme.txt changelog entry. Help copy is
mirrored from README.md / nacc2/README.md; escaping matches the existing
draw_settings() conventions (static markup + esc_url for the README link).

🐦‍⬛ Generated with Claude Code, orchestrated by Crow

Co-Authored-By: Claude <noreply@anthropic.com>
Crow-Session: 065EC34B-D2C2-46A1-899B-EDFE29AEA7CD
@dgershman
dgershman requested a review from pjaudiomv July 17, 2026 00:26
@pjaudiomv
pjaudiomv merged commit f507cc9 into main Jul 17, 2026
1 check passed
@pjaudiomv
pjaudiomv deleted the feature/nacc-26-settings-usage-docs branch July 17, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add usage documentation to the NACC settings page

2 participants