humanmade / humanmade/hm-rewrite
Add ability to skip main query
Open
enhancement
- Dominant language
- PHP
- Stars
- 161
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
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](https://groups.google.com/forum/#!topic/wp-hackers/fsgDeZe6sx0) is a good start, but `WP::query_posts` can be overridden in a nicer way than when that answer was added.
Contributor guide
Assessment
This issue has not been assessed yet.