Skip to content

Instantly share code, notes, and snippets.

@gareth-gillman
Created March 22, 2018 09:54
Show Gist options
  • Save gareth-gillman/c9a28a12040573f89f5ca8c6cb808a04 to your computer and use it in GitHub Desktop.
Save gareth-gillman/c9a28a12040573f89f5ca8c6cb808a04 to your computer and use it in GitHub Desktop.
Yoast SEO change number of sitemap indexes
function max_entries_per_sitemap() {
return 5000;
}
add_filter( 'wpseo_sitemap_entries_per_page', 'max_entries_per_sitemap' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment