powerbuoy/sleek-archive-meta

Hooks into the the_archive_title() and the_archive_description() functions to provide better search results texts, remove prefixes and more.

Installs: 2 256

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/powerbuoy/sleek-archive-meta

v3.5.1 2024-03-07 19:02 UTC

This package is auto-updated.

Last update: 2025-10-07 22:22:49 UTC


README

Packagist GitHub license GitHub issues GitHub forks GitHub stars

Hooks into the the_archive_title() and the_archive_description() functions to provide better search results texts, remove prefixes and more.

Also adds a new Sleek\ArchiveMeta\the_archive_image() (which, without ACF, only works for the user archive (using the avatar)).

If used together with Sleek\PostTypes' settings pages the_archive_image() returns the image used on the settings page.

Theme Support

N/A

Hooks

N/A

Functions

Sleek\ArchiveMeta\get_the_archive_image($size)

Returns potential archive images as <img>.

Sleek\ArchiveMeta\get_the_archive_image_url(size)

Returns potential archive image URL.

Sleek\ArchiveMeta\the_archive_image(size)

Renders potential archive image.

Sleek\ArchiveMeta\the_archive_image_url(size)

Renders potential archive image URL.

Classes

N/A