承接 powerbuoy/sleek-custom-logo 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

powerbuoy/sleek-custom-logo

最新稳定版本:v2.2.1

Composer 安装命令:

composer require powerbuoy/sleek-custom-logo

包简介

Hooks into the_custom_logo() and improves it.

README 文档

README

Packagist GitHub license GitHub issues GitHub forks GitHub stars

Hooks into the_custom_logo() and renders one of:

  1. A custom logo selected in the admin
  2. An SVG logo found in dist/assets/site-logo.svg
  3. A PNG logo found in dist/assets/site-logo.png
  4. Just outputs the site name

Also makes it possible to pass an array of arguments to get_custom_logo(); the_custom_logo(['inline_svg' => true, 'append' => '-small']) would instead render dist/assets/site-logo-small.svg as an inline SVG.

Finally it also changes the link class name from custom-logo-link to site-logo.

Theme Support

N/A

Hooks

N/A

Functions

the_custom_logo($args)

This is the native WordPress the_custom_logo() but we add the $args argument which enables you to specify inline_svg (true/false) and append (String to append to site-logo filename).

Classes

N/A

统计信息

  • 总下载量: 2.1k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2019-09-26