Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/choctaw-nation/cno-plugin-pdf-download-block/releases/download/v1.0.2/cno-pdf-download-selector.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
PDF Download Selector Block
A block that allows a user to select a pdf to download.
How it Works (Generally)
- The block makes use of both a render callback and the Interactivity API for performant and flexible form downloads and rendering
- The block stores PDF files as an array in its attributes unless an external data store is selected (see below)
With An External Data Store (CPT)
If using a CPT as an external data source, the CPT must include the following ACF fields;
pdf_filea File Field that returns an array- A
True/Falsefield with the nameuse_post_title_as_form_name
ACF Fields must be exposed to the REST API for access in the block editor! See useAllowedCPTs hook and the render callback file for specific implementation.
Changelog
v1.0.2 - [February 3, 2026]
- Fixed: Block now correctly grabs titles from server instead of relying on static, saved data.
- Chore: Update packages
v1.0.1 - [January 2, 2026]
- Fixed: Block correctly grabs pdfs from the CPT
- Fixed: Enforced Bootstrap-like styles on the select field for consistent cross-browser rendering
- Fixed: Unstable
useSelectissue is resolved - Chore: Updated packages
v1.0.0 - [December 22, 2025]
- Init block!
Releases
3 releases. Each count is every asset in that release; expand a row for the breakdown.