wpseo_sitemap_post_statuses not working
-
I am using the function as this:
function yoast_add_custom_status( $post_statuses, $type ) { $post_statuses = array( 'publish','arquivado' ); return $post_statuses; } add_filter( 'wpseo_sitemap_post_statuses', 'yoast_add_custom_status');
So it should work, but when I access the URL where sitemaps are generated, it says there are technical problems.
This is urgent because this customer just stoped having thounsands (literally) of posts published inside the sitemaps.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wpseo_sitemap_post_statuses not working’ is closed to new replies.