HTTP/2 301
server: nginx
date: Sat, 11 Oct 2025 14:14:55 GMT
content-type: text/html; charset=UTF-8
x-olaf: ⛄
vary: accept, content-type
x-redirect-by: WordPress
location: https://developer.wordpress.org/reference/functions/the_archive_title/
x-frame-options: SAMEORIGIN
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
HTTP/2 200
server: nginx
date: Sat, 11 Oct 2025 14:14:55 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
vary: accept, content-type
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
the_archive_title() – Function | Developer.WordPress.org
the_archive_title( string $before = '', string $after = '' )
Displays the archive title based on the queried object.
$before
stringoptionalContent to prepend to the title.
Default:''
$after
stringoptionalContent to append to the title.
Default:''
Version | Description |
---|
4.1.0 | Introduced. |
Display archive title.
See Also
the_archive_description() – Display category, tag, term, or author description
Used for returning/displaying the title of the current term, date, post type, post format, or author archive.