ArgentWolf Hashtag Inserter Plugin for Wordpress.
  • PHP 62%
  • JavaScript 25.6%
  • Shell 12%
  • CSS 0.4%
Find a file
Alan Johnson 092dfbb3ef
All checks were successful
WordPress Plugin CI / validate (push) Successful in 2m51s
WordPress Plugin CI / release (push) Has been skipped
Run Forgejo CI on workstation pool
2026-09-16 17:54:00 -04:00
.forgejo/workflows Run Forgejo CI on workstation pool 2026-09-16 17:54:00 -04:00
blocks/hashtags Add editor hashtag copy control 2026-08-25 10:13:22 -04:00
includes Make hashtag block placement flexible 2026-08-22 00:45:52 -04:00
scripts Make release ZIP tooling portable in CI 2026-08-21 23:54:30 -04:00
tests Add editor hashtag copy control 2026-08-25 10:13:22 -04:00
.gitignore Build ArgentWolf Hashtag Inserter 0.1.0 2026-08-21 23:41:26 -04:00
AGENTS.md Fix dynamic block front-end rendering 2026-08-25 09:15:53 -04:00
argentwolf-hashtag-inserter.php Build ArgentWolf Hashtag Inserter 0.1.0 2026-08-21 23:41:26 -04:00
CHANGELOG.md Add editor hashtag copy control 2026-08-25 10:13:22 -04:00
composer.json Build ArgentWolf Hashtag Inserter 0.1.0 2026-08-21 23:41:26 -04:00
composer.lock Build ArgentWolf Hashtag Inserter 0.1.0 2026-08-21 23:41:26 -04:00
LICENSE Build ArgentWolf Hashtag Inserter 0.1.0 2026-08-21 23:41:26 -04:00
phpcs.xml.dist Build ArgentWolf Hashtag Inserter 0.1.0 2026-08-21 23:41:26 -04:00
README.md Add editor hashtag copy control 2026-08-25 10:13:22 -04:00
readme.txt Add editor hashtag copy control 2026-08-25 10:13:22 -04:00
uninstall.php Make hashtag block placement flexible 2026-08-22 00:45:52 -04:00

ArgentWolf Hashtag Inserter

A GPL-licensed WordPress plugin that renders WordPress post tags as a social-media-friendly hashtag line.

Behavior

Given WordPress tags:

  • tag1
  • tag2
  • tag3

The plugin renders:

#tag1 #tag2 #tag3

The Gutenberg block is dynamic: it stores a block marker, not a copied hashtag string. Editing the WordPress tags therefore updates the rendered hashtag line automatically.

The block is position-neutral and may be placed anywhere in a post. New editor insertions default to after the first top-level paragraph, with end-of-post insertion also available. Optional automatic insertion uses the same after-first-paragraph default and never repositions an existing block.

The editor also provides a one-click Copy hashtags action in both the hashtag block preview and the Hashtag Inserter sidebar, copying the exact live generated hashtag line for manual social sharing.

Development workflow

  • develop is the integration branch.
  • Feature work is expected to land through feature branches and be fast-forward integrated after gates pass.
  • main is reserved for release-ready history.
  • Tags matching v* build release artifacts in Forgejo Actions.
  • Do not commit generated dist/ output.

Run local gates:

composer install
composer validate --strict
composer lint
composer phpcs
bash scripts/build-release.sh
bash scripts/verify-package.sh dist/argentwolf-hashtag-inserter-0.1.0.zip

WordPress Plugin Check remains an additional release gate and is not treated as a substitute for code review.

Initial Forgejo push

Create an empty Forgejo repository named wp-argentwolf-hashtag-inserter (do not pre-create a README, license, or .gitignore), then run:

bash scripts/forgejo-init.sh git@forgejo.argentwolf.org:OWNER/wp-argentwolf-hashtag-inserter.git

The helper refuses to push until Composer validation, PHP syntax checks, WPCS/PHPCompatibility, the local behavior tests, release packaging, and checksum verification pass. For the initial import it creates and retains feature/initial-plugin, then fast-forwards develop to that tested commit before pushing both branches.