Releases: willhowat/dmg-read-more
Releases · willhowat/dmg-read-more
Release list
v1.0.0
Added
dmg/read-moreGutenberg block — dynamic block that renders a styled Read More link to any published post- Sidebar inspector panel with debounced keyword search, direct post ID lookup, and paginated results
- WYSIWYG canvas preview matching frontend output; warning notice when the block links to the post it appears in
- PHP render callback outputting
<p class="dmg-read-more">(with block-support attributes viaget_block_wrapper_attributes()) containing an anchor with<span class="dmg-read-more__prefix">and<span class="dmg-read-more__title">children - WP-CLI command group
wp dmg-read-morewith four subcommands:migrate— creates the{prefix}dmg_read_more_indextablebackfill— seeds the index from existing published postssync— reconciles the index after a period of plugin deactivationsearch— queries the index for posts containing the block, with optional--date-after,--date-before,--post-type, and--format(idsorcount) flags
- Dedicated index table for O(matching posts) search performance at scale; maintained automatically via
save_postanddeleted_posthooks dmg_read_more_allowed_in_post_typesfilter — restricts which post types the block can be inserted intodmg_read_more_post_typesfilter — restricts which post types appear in the block's link target search resultsdmg_read_more_prefixfilter — overrides the "Read More:" label on the frontend and in the editor preview- Uninstall routine that drops the index table on plugin deletion