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/joranout/wp-soli-keyword-linker-plugin/releases/download/v0.1.0-nightly.23/wp-soli-keyword-linker-plugin.zipUpdates itself. It ships its own updater, so new versions appear under Dashboard → Updates.
WP Soli Keyword Linker
Links keywords to pages while you write, for soli.nl.
What it does:
- Tools → Keyword links holds a table of rules. Each rule is a set of keywords or phrases and the page they should link to.
- In the block editor, the first occurrence of each phrase in a paragraph, heading or list item becomes a standard WordPress link (the
core/linkformat) as soon as you move to another block. Matching ignores case and only matches whole words. Text that is already a link is left alone, and a page never links to itself. Remove an automatic link by hand and it stays removed: the text gets an invisible mark that the linker respects. The text toolbar has a "No keyword link" toggle to set or clear that mark for any selection. - Content links on the front end and in the editor canvas are drawn as a red guitar string: a thick red line under the text that vibrates while you hover, with two notes flying out of it. Buttons are excluded. Under "reduced motion" the string stays still. The string colour is baked into the SVG in
src/links.scss;--soli-keyword-link-colorcolours the notes and the hovered text.
Rules are stored in a single option, soli_keyword_linker_rules. Uninstalling removes it.
Development
npm install
npm run build # compiles src/ into build/
npm run env:start # http://localhost:8912, admin / password
npm run test:e2e # Playwright against the tests site on :8913
build/ is gitignored. The release and nightly workflows run npm run build before packaging.
Releases
6 releases. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads