WP Manifestindependent plugin directory
manifest / editor / fb-wp-plugin

FB Plugin

quick little wp plugin for fb

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/kowkelley/fb-wp-plugin/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A WordPress plugin with two features:

  1. A Gutenberg block that inserts a stylized Read More link to a selected published post.
  2. A WP-CLI command at wp fb-read-more search.

Local development

From this plugin directory:

npm install
npm run build

For watch mode while editing block JS:

npm run start

WordPress verification

From workspace root:

docker compose exec -T wpcli wp plugin status fb-plugin
docker compose exec -T wpcli wp help fb-read-more search
docker compose exec -T wpcli wp fb-read-more search

Gutenberg block usage

  • Block inserter label: FB Read More
  • Block name: fb/read-more
  • Open InspectorControls to:
    • Search published posts by keyword.
    • Search by specific post ID.
    • Browse paginated results.
    • Select a post to update the previewed anchor.

Saved/rendered output format:

<p class="fb-read-more">Read More: <a href="{permalink}">{post title}</a></p>

CLI usage

wp fb-read-more search
wp fb-read-more search --date-after='2026-01-01' --date-before='2026-12-31 23:59:59'

Publish plugin only

Initialize git from this folder (not workspace root) so only plugin code is public.