get_archive_template


get_archive_template ( No parameters )

See:
Returns:
  • (string) Full path to archive template file.
Defined at:

Description

Retrieves path of archive template in current or parent template.The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} and {@see '$type_template'} dynamic hooks, where `$type` is 'archive'.

Related Functions

get_search_template, get_date_template, get_page_template, get_home_template, get_post_type_archive_template

Top Google Results

User discussions

wpseek mobile