NPC Manual Generator for Advanced Custom Fields
Reads Advanced Custom Fields (ACF) field structures and automatically generates client-ready update manuals in Markdown and PDF formats.
Install in
When you hand off a WordPress site to a client, they often ask “where do I edit what?”. NPC Manual Generator for Advanced Custom Fields parses the field structures defined by Advanced Custom Fields (ACF) and produces an update manual that operations staff can actually read – in Markdown and PDF.
Designed for real-world handoff use, the plugin renders Repeater / Flexible Content / Group nesting, translates ACF location rules into readable text, and bundles a Japanese-capable font for PDF output, so the result is something you can ship as a deliverable.
Main features
- Read ACF local JSON (
acf-json/group_xxx.json) and field groups stored in the database - Indented rendering for nested fields (Repeater / Flexible Content / Group)
- Formatted output of field type, required flag, instructions, choices, and more
- Location rule humanization (post type, taxonomy, page templates; resolves page/post titles when reading from the database)
- Live preview in the admin screen
- Markdown download (single file and Zip bundle)
- PDF download (single file – A4 portrait, IPAex Gothic bundled, header / footer / page numbers)
- Bulk Zip download with format selection (MD / PDF / Both)
- Paired filename rename when bundling so that the MD and PDF for the same group share the same suffix
Translation
All UI strings are wrapped with __() / _e() and the text domain npc-manual-generator-for-advanced-custom-fields. A Japanese translation is bundled (languages/npc-manual-generator-for-advanced-custom-fields-ja.po). Additional languages can be contributed through translate.wordpress.org.
Roadmap
- Template feature (rebrand the manual with your studio’s logo and colors)
- Inline display in the post editor sidebar
- Sample value capture (pull one real post and show “currently entered as …”)
- Diff manuals (highlight changes since the previous output)
- Automatic screenshot insertion (capture the admin screen with a headless browser and embed in the PDF)
Links
- Official site: https://n-pc.jp/
- Developer blog: https://n-pc.jp/blog/
Author
npc – Freelance WordPress developer working with ACF since 2016. This plugin grew from in-house tools used to ship real client projects.
Third-party Licenses
This plugin bundles the following third-party software.
- mPDF (
mpdf/mpdf8.x): GPL-2.0-only. Seevendor/mpdf/mpdf/LICENSE.txt. - IPAex Gothic Font (
fonts/ipaexg.ttf): IPA Font License Agreement v1.0. Seefonts/IPA_Font_License_Agreement_v1.0.txt. Official: https://moji.or.jp/ipafont/license/
The mPDF dependencies are also bundled (all under compatible licenses):
setasign/fpdi– MITpsr/log– MITpsr/http-message– MITparagonie/random_compat– MITmyclabs/deep-copy– MITmpdf/psr-log-aware-trait– GPL-2.0-onlympdf/psr-http-message-shim– GPL-2.0-only
Written by Joobi from the project's own listing. See the source page
1.0.0
- First public release on WordPress.org
- Plugin assets (banner and icon) added for the plugin directory page
0.3.0
- Phase 3: PDF output for production deliverables
- Bundled mPDF 8.3 via Composer (vendor/ included in the distribution)
- Bundled IPAex Gothic (with the IPA Font License v1.0 text)
- Single-file PDF download (A4 portrait, 20mm margins, header / footer, page numbers)
- Hierarchy rendered with H2 / H3 + left-border guide lines
- Bulk Zip download format radio (MD / PDF / Both)
- Paired filename rename so MD and PDF for the same group share suffixes
- Per-row download buttons reorganized as MD / PDF icon buttons
- Admin notice when mPDF or the bundled font is missing
- Six
apply_filters()extension points in PDF_Generator for white-label customization
0.2.0
- Phase 2: production-ready release
- Direct read of field groups stored in the ACF database
- Markdown download (single file and Zip bundle)
- Location rule resolution (post type / page title / taxonomy / user role)
- In-request static cache to reduce database load during bulk processing
- Same-name groups deduplicated with sequential rename in Zip
- Fallback display when ZipArchive is not available
0.1.0
- Phase 1: PoC release
- ACF JSON read, Markdown generation, admin preview
- Repeater / Flexible Content / Group nesting
- All 16 field types covered
Follow this listing's changes (Atom feed)