Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow plugins/themes to modify the generated XML #143

Open
dana-ross opened this issue Oct 25, 2018 · 0 comments
Open

Allow plugins/themes to modify the generated XML #143

dana-ross opened this issue Oct 25, 2018 · 0 comments

Comments

@dana-ross
Copy link

I'd like to start using msm-sitemap for a site's main sitemaps, but keep using Yoast's News Sitemap plugin until there's an alternative for generating news sitemaps. So, I need a way to add this additional sitemap URL to the end of the index.

Yoast's SEO plugin has a filter to accomplish this, which their News Sitemap plugin hooks into:

		/**
		 * Filter to append sitemaps to the index.
		 *
		 * @param string $index String to append to sitemaps index, defaults to empty.
		 */
		$xml .= apply_filters( 'wpseo_sitemap_index', '' );

I think it would make sense to add a similar filter to this plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant