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

Add ability to skip main query #10

Open
rmccue opened this issue May 6, 2014 · 1 comment
Open

Add ability to skip main query #10

rmccue opened this issue May 6, 2014 · 1 comment

Comments

@rmccue
Copy link
Member

rmccue commented May 6, 2014

It'd be nice to have a skip_main_query option to enable not running the main query at all for pages which are just static, or redirects.

Andy Skelton's answer from wp-hackers is a good start, but WP::query_posts can be overridden in a nicer way than when that answer was added.

@johnbillion
Copy link
Member

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

No branches or pull requests

2 participants