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

Sticky post should be exclude from the Widget #44

Open
touuki opened this issue May 2, 2020 · 0 comments
Open

Sticky post should be exclude from the Widget #44

touuki opened this issue May 2, 2020 · 0 comments

Comments

@touuki
Copy link

touuki commented May 2, 2020

In current version, if there is a sticky post, it will include in all queries such as most_viewed. Then it will show $limit + 1 records, and the sticky post is the first one. I think it's not the expected result in most cases. So would it be better to add a condition ignore_sticky_posts in WP_Query?

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