WP Manifestindependent plugin directory
manifest / seo / news-sitemap-for-publishers

News Sitemap for Publishers WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Extends WordPress's XML sitemaps feature to add a news sitemap

★ 0stars
v1.2.2latest · 9mo ago

Install

Download source zip No release zip yet

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/alleyinteractive/news-sitemap-for-publishers/archive/refs/heads/develop.zip

On Packagist as alleyinteractive/wp-news-sitemap:

composer require alleyinteractive/wp-news-sitemap
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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:

composer require alleyinteractive/news-sitemap-for-publishers

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:

composer dev

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 version is detected in the root plugin's headers in the news-sitemap-for-publishers.php file or in the composer.json file, the workflow will automatically build the plugin and tag it with a new version. The built tag will contain all the required front-end assets the plugin may require. This works well for publishing to WordPress.org or for submodule-ing.

When you are ready to release a new version of the plugin, you can run composer release to start the process of setting up a new release. If you want to do this manually you can follow these steps:

  1. Change the Version in the news-sitemap-for-publishers.php file to a new higher-level version.

     - * Version: 0.0.0
     + * Version: 0.0.1
  2. Commit your changes and push to the repository.

  3. Check the actions tab in the repository to see the progress of the release. The action will automatically create a new tag and release for the plugin. You are done!

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

This project is actively maintained by Alley Interactive. Like what you see? Come work with us.

License

The GNU General Public License (GPL) license. Please see License File for more information.

Releases

6 releases.

Tag
Published
v1.2.2 latest
Jan 2, 2026 9mo ago
Jan 2, 2026 9mo ago
Jan 1, 2026 9mo ago
Dec 31, 2025 9mo ago
Dec 31, 2025 9mo ago
Dec 31, 2025 9mo ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

News Sitemap for Publishers 1.2.2 · audited by WP Registry

No security issues found.

Audited release
1.2.2
Findings
none
Worst severity
—
Content hash
8fe98554551fbd3d5c447098…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.