public function get_parts( array $parts = [] ) { $this->parts = wp_parse_args( $parts, $this->parts ); if ( genesis_is_root_page() ) { $this->parts = $this->get_root_page_title_parts(); } if ( is_home() ) { $this->parts = $this->get_home_page_title_parts(); } if ( is_singular() ) { $this->parts = $this->get_singular_title_parts(); } if ( is_category() || is_tag() || is_tax() ) { $this->parts = $this->get_tax_archive_title_parts(); } if ( is_author() ) { $this->parts = $this->get_author_archive_title_parts(); } if ( is_post_type_archive() ) { $this->parts = $this->get_post_type_archive_title_parts(); } if ( is_feed() ) { $this->parts = $this->get_default_parts(); } if ( ! genesis_get_seo_option( 'append_site_title' ) ) { unset( $this->parts[ self::SITE ] ); } return $this->parts; }