开发者 |
hchouhan
themeist |
---|---|
更新时间 | 2025年5月30日 21:25 |
捐献地址: | 去捐款 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.8 |
版权: | GPL-3.0 |
版权网址: | 版权信息 |
/custom-favicon/
folder to /wp-content/plugins/
Yes. When enabled, the plugin replaces WordPress’s default favicon and Apple icon output.
Yes. Modern browsers support SVG favicons. If your theme doesn’t allow SVG uploads, you may need to enable that manually.
Yes. You can upload separate favicons for light and dark appearance modes using the prefers-color-scheme
media query.
By default, only Administrators (with the manage_options
capability) can access the settings page.
Developers can override this using the custom_favicon_capability
filter. For example, to allow Editors:
```php
add_filter( 'custom_favicon_capability', function () {
return 'edit_theme_options';
} );
You can ask your question in the WordPress.org Support Forum
prefers-color-scheme
apple-touch-icon
and msapplication-TileImage
meta output