News Sitemap for Publishers
Extends WordPress's XML sitemaps feature to add a news sitemap
by Matthew Boynes · github.com/alleyinteractive/news-sitemap-for-publishers · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/alleyinteractive/news-sitemap-for-publishers/archive/refs/heads/develop.zipAlso on Packagist as alleyinteractive/wp-news-sitemap:
composer require alleyinteractive/wp-news-sitemapFrom the readme
News Sitemap for Publishers
Extends WordPress's XML sitemaps feature to add a news sitemap for Google, Yahoo, Bing, et al.
Description
Extends WordPress's XML sitemaps feature to add a news sitemap. News sitemaps are used by Google and others to surface recent news articles by publishers.
Installation
You can install the package via Composer:
Usage
Activate the plugin in WordPress and flush your rewrite rules (simply navigate to Settings → Permalinks in the WordPress admin to do so).
You can verify that the plugin is working by navigating to /wp-news-sitemap.xml on your site. You should also find a new sitemap entry in your site's robots.txt file for this URL.
Development
To set up a WordPress installation and run the plugin in a local environment, you
can use wp-env via the composer dev command:
The command will start a local WordPress environment with the plugin activated.
Testing
Run composer test to run tests against PHPUnit and the PHP code in the plugin.
Unit testing code is written in PSR-4 format and can be found in the tests
directory.
Releasing the Plugin
The plugin uses
action-release via a
built release workflow to compile and
tag releases. Whenever a new
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.2.2 | Jan 2, 2026 |
| v1.2.1 | Jan 2, 2026 |
| v1.2.0 | Jan 1, 2026 |
| v1.1.0 | Dec 31, 2025 |
| v1.0.1 | Dec 31, 2025 |
| v1.0.0 | Dec 31, 2025 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.