private function is_showing_page_on_front($q) { return $q->is_home() && 'page' === get_option('show_on_front'); }