setting up condition under which to use old rewrite rule retrieval or skip it
fixing wp_the_query in widgetpres for conditional old query retrieval