powerbuoy/sleek-archive-meta
最新稳定版本:v3.5.1
Composer 安装命令:
composer require 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.
README 文档
README
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
统计信息
- 总下载量: 2.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-09-27