powerbuoy/sleek-core
最新稳定版本:v4.3.0
Composer 安装命令:
composer require powerbuoy/sleek-core
包简介
Adds a bunch of theme support, includes translation files, enqueues scripts etc etc.
README 文档
README
Adds a bunch of theme support, includes translation files, enqueues scripts etc etc.
Theme Support
sleek/disable_jquery
Disable jQuery on the front end (not inside admin). Note that this may break some plug-ins.
sleek/jquery_cdn
Include jQuery from a CDN (code.jquery.com).
sleek/get_terms_post_type_arg
Adds support for a post_type argument to get_terms so it only returns terms associated with that post-type.
sleek/disable_theme_editor
Disables the theme editor.
sleek/classic_editor
Disables Gutenberg and enables the classic editor everywhere.
sleek/nice_email_from
Changes the default email and name when using wp_mail() to use the site name and admin email instead of "WordPress".
sleek/disable_404_guessing
Disables WordPress' insane guessing when it hits a 404: https://core.trac.wordpress.org/ticket/16557
Hooks
sleek/jquery_version
Return a jQuery version like "3.4.1" to change it.
sleek/meta_viewport
Set a custom meta_viewport instead of the default width=device-width, initial-scale=1.0.
Functions
N/A
Classes
N/A
统计信息
- 总下载量: 2.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-09-26