Install
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/marlonek/keyword-ngram-density/archive/refs/heads/main.zipA WordPress plugin that shows repeated 1–5 word phrases (n-grams) in the post you are editing — so you can check keyword focus and trim repetition. The analysis runs entirely in your browser; the plugin makes no network requests and stores nothing.
- One-click Analyze panel in the editor (block editor and classic editor).
- Choose phrase lengths (1–5), a minimum repeat count, and optionally ignore stop-words (EN + PL).
- Top phrases per length with count and share (%).
Companion to the Keyword n-gram counter Google Sheets add-on — same phrase-counting engine, inside WordPress.
Install (manual / testing)
- Copy the
keyword-ngram-densityfolder intowp-content/plugins/(or zip it and upload via Plugins → Add New → Upload Plugin). - Activate it under Plugins.
- Open any post/page → the Keyword n-gram density panel is in the editor sidebar → click Analyze.
Files
keyword-n-gram-density.php — plugin bootstrap: meta box + asset enqueue
assets/editor.js — n-gram engine + UI (runs in the browser)
assets/editor.css — panel styling
readme.txt — WordPress.org readme
The WordPress plugin slug / text domain is keyword-n-gram-density.
Privacy
All counting happens in the browser from the content currently in the editor. No network requests, no stored data, nothing sent anywhere.
Author
Built by Bartosz Koplin · contact: kontakt@bartoszkoplin.pl
License
GPLv2 or later — see LICENSE.