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/kostyasorokin/wp-ks-news/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
KS News adds a dedicated news post type to WordPress. News content has its own hierarchical categories (news_category) and non-hierarchical tags (news_tag), so its terms never mix with regular post categories or tags.
Features
- Public news archive at
/news/ - Single news URLs at
/news/<name>/ - Category archives at
/news/category/<term>/ - Tag archives at
/news/tag/<term>/ - Block editor and REST API support
- Title, editor, author, excerpt, featured image, comments, and revisions
- Russian and Ukrainian translations; all source strings remain English
- Multisite-safe activation and rewrite setup
Installation
- Copy
ks-newsintowp-content/plugins. - Run
composer install --no-dev --optimize-autoloaderin the plugin directory ifvendor/is not included in the package. - Activate KS News in WordPress.
- Add content under News in the admin menu.
Activation registers the routes and flushes rewrite rules. Deactivation removes only the runtime registrations; it never deletes news, categories, or tags.
Extension points
ksNewsPostTypeArgsksNewsCategoryTaxonomyArgsksNewsTagTaxonomyArgs
Each filter receives the complete registration arguments immediately before the corresponding WordPress registration function is called.