Disable sorting on modified main query
-
This is a really nice plugin, and I understand that it excludes custom queries with order parameters. But is there any way to also exclude the main query if it has been modified with the pre_get_posts action (e. g. the order/orderby parameters have been set explicitly)?
That would be really helpful for me, so that I don’t have to bother the database with another query.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Disable sorting on modified main query’ is closed to new replies.