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

Option to adjust sitemap post limit #256

Closed
sybrew opened this issue Jan 18, 2018 · 2 comments
Closed

Option to adjust sitemap post limit #256

sybrew opened this issue Jan 18, 2018 · 2 comments
Assignees
Labels
[Type] Enhancement Improves anything we already have.
Milestone

Comments

@sybrew
Copy link
Owner

sybrew commented Jan 18, 2018

The sitemap currently limits its output to 1200 of posts, pages, and CPT.
Some users want this value increased, and there's a filter for it.

add_filter( 'the_seo_framework_sitemap_post_limit', function( $default = 1200 ) {
	return 14000;
} );

However, after a few dozen requests, I'll just turn it into an option.
The option should yield all post types combined, instead of split. The maximum should be set to 50,000.

Monitor has a check for whether the sitemap exceeds the URL and size (10 MiB) limit.

@sybrew sybrew added the [Type] Enhancement Improves anything we already have. label Jan 18, 2018
@sybrew sybrew added this to the 3.1.0 milestone Jan 18, 2018
@sybrew sybrew self-assigned this Jan 18, 2018
@sybrew
Copy link
Owner Author

sybrew commented Jul 27, 2018

Moved to a later version. There's too much overhead.

@sybrew sybrew modified the milestones: 3.1.0, 3.2.0 Jul 27, 2018
@sybrew
Copy link
Owner Author

sybrew commented Jul 30, 2018

Found culprit. Moved to 3.1.0 again 👍

@sybrew sybrew modified the milestones: 3.2.0, 3.1.0 Jul 30, 2018
@sybrew sybrew closed this as completed in 80c713d Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement Improves anything we already have.
Projects
None yet
Development

No branches or pull requests

1 participant