800 $this->is_single = true; |
799 $this->is_single = true; |
801 } elseif ( ( '' !== $qv['hour'] ) && ( '' !== $qv['minute'] ) && ( '' !== $qv['second'] ) && ( '' != $qv['year'] ) && ( '' != $qv['monthnum'] ) && ( '' != $qv['day'] ) ) { |
800 } elseif ( ( '' !== $qv['hour'] ) && ( '' !== $qv['minute'] ) && ( '' !== $qv['second'] ) && ( '' != $qv['year'] ) && ( '' != $qv['monthnum'] ) && ( '' != $qv['day'] ) ) { |
802 // If year, month, day, hour, minute, and second are set, a single |
801 // If year, month, day, hour, minute, and second are set, a single |
803 // post is being queried. |
802 // post is being queried. |
804 $this->is_single = true; |
803 $this->is_single = true; |
805 } elseif ( '' != $qv['static'] || '' != $qv['pagename'] || ! empty( $qv['page_id'] ) ) { |
804 } elseif ( '' != $qv['pagename'] || ! empty( $qv['page_id'] ) ) { |
806 $this->is_page = true; |
805 $this->is_page = true; |
807 $this->is_single = false; |
806 $this->is_single = false; |
808 } else { |
807 } else { |
809 // Look for archive queries. Dates, categories, authors, search, post type archives. |
808 // Look for archive queries. Dates, categories, authors, search, post type archives. |
810 |
809 |