Title: Logo Switcher
Author: Leander Iversen
Published: <strong>2016 年 8 月 1 日</strong>
Last modified: 2020 年 6 月 25 日

---

搜索插件

![](https://ps.w.org/logo-switcher/assets/banner-772x250.png?rev=1464544)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/logo-switcher/assets/icon-256x256.png?rev=1471541)

# Logo Switcher

 作者：[Leander Iversen](https://profiles.wordpress.org/leanderiversen/)

[下载](https://downloads.wordpress.org/plugin/logo-switcher.2.1.zip)

 * [详情](https://cn.wordpress.org/plugins/logo-switcher/#description)
 * [评价](https://cn.wordpress.org/plugins/logo-switcher/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/logo-switcher/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/logo-switcher/#developers)

 [支持](https://wordpress.org/support/plugin/logo-switcher/)

## 描述

Logo Switcher is a super lightweight plugin that easily allow the implementation
of a chosen logo in your theme. By default, the plugin automatically includes the
chosen logo on the login screen, but the plugin behavior can be controlled by a 
simple filter. To get started, simply download and activate the plugin, then hover
over **Appearance** and click on **Customize**.

#### How to use

    ```
    <?php 

    // https://www.example.com/wp-content/uploads/YYYY/MM/logo.png
       echo logo_switcher_url();

    // <a href="https://www.example.com/" title="Your Website Name" rel="home"><img src="https://www.example.com/wp-content/uploads/YYYY/MM/logo.png" alt="Your Website Name"></a>      
       logo_switcher_link_tag();

    // <img src="https://www.example.com/wp-content/uploads/YYYY/MM/logo.png" class="example-class" alt="Your Website Name">
       logo_switcher_image_tag($classes = array());
    ```

#### Like the plugin?

If you like the plugin, please review it. Every review is highly appreciated, but
if you have a suggestion on how to make the plugin better, please send an email 
to info@carpe-noctem.no.

## 屏幕截图

 * [[
 * This is where you upload the logo you want to use
 * [[
 * This is where you change the settings of the plugin to suite your needs

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Navigate to **Appearance**, then click on **Customize** to upload your logo. Note
    that this will only add the logo to the login page of your website. To include 
    the logo on your actual website, use one of the functions provided under “How to
    use”.

## 评价

![](https://secure.gravatar.com/avatar/5a17ffad097c0638032446339cdff35b2f1ea5891bb2ace0bee0610bae3220de?
s=60&d=retro&r=g)

### 󠀁[Quick and Easy Logo Change](https://wordpress.org/support/topic/quick-and-easy-logo-change/)󠁿

 [AshtonSanders](https://profiles.wordpress.org/ashtonsanders/) 2017 年 12 月 1 
日

Installed and working as expected on my site.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/logo-switcher/reviews/)

## 贡献者及开发者

「Logo Switcher」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Leander Iversen ](https://profiles.wordpress.org/leanderiversen/)

[帮助将「Logo Switcher」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/logo-switcher)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/logo-switcher/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/logo-switcher/)，或通过[RSS](https://plugins.trac.wordpress.org/log/logo-switcher/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/logo-switcher/)。

## 更新日志

#### 2.1

 * General maintenance and optimisation of the plugin.

#### 2.0

 * Introduces logo_switcher_image_tag(), which produces the img-tag, with the option
   to add classes.
 * Introduces logo_switcher_link_tag(), which is an alias of logo_switcher_print().
 * Introduces a cleaner uninstalling process.
 * Compatibility with WordPress 5.0.

#### 1.2.3

 * Optimisation of the CSS on the “Log In” page.
 * Updated minimum version of WordPress to 4.0 to ensure future compatibility for
   the plugin.

#### 1.2.2

 * Streamlined the process of uploading a logo
 * Updated translations

#### 1.2.1

 * Added functionality to see the uploaded logo directly from the plugin’s settings
   page
 * Updated translations
 * Other minor improvements

#### 1.2

 * New options page located under the “General” settings, which allows you to easily
   switch on or off the logo on the login screen
 * Updated translations with better explanations
 * Various minor improvements

#### 1.1.4

 * Updated the readme and made it more understandable
 * The plugin is now compatible with version 4.7 of WordPress

#### 1.1.3

 * Various bugfixes
 * Updated translations
 * Compatible up to version 4.7-alpha-38618 of WordPress

#### 1.1.2

 * Various bugfixes

#### 1.1.1

 * Updated translations
 * Updated readme

#### 1.1

 * Added options to include the logo in your theme
 * Added filters
 * Bugfixes

#### 1.0

 * Initial release

## 额外信息

 *  版本 **2.1**
 *  最后更新：**6 年前**
 *  活跃安装数量 **900+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **5.4.19**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/logo-switcher/)
 * 标签
 * [custom logo](https://cn.wordpress.org/plugins/tags/custom-logo/)[login logo](https://cn.wordpress.org/plugins/tags/login-logo/)
   [logo](https://cn.wordpress.org/plugins/tags/logo/)[logo switcher](https://cn.wordpress.org/plugins/tags/logo-switcher/)
 *  [高级视图](https://cn.wordpress.org/plugins/logo-switcher/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/logo-switcher/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/logo-switcher/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/logo-switcher/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/logo-switcher/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/logo-switcher/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/logo-switcher/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/logo-switcher/reviews/)

## 贡献者

 *   [ Leander Iversen ](https://profiles.wordpress.org/leanderiversen/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/logo-switcher/)