Title: BNS Corner Logo
Author: Edward Caissie
Published: <strong>2009 年 9 月 2 日</strong>
Last modified: 2016 年 4 月 10 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/bns-corner-logo.svg)

# BNS Corner Logo

 作者：[Edward Caissie](https://profiles.wordpress.org/cais/)

[下载](https://downloads.wordpress.org/plugin/bns-corner-logo.2.2.zip)

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

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

## 描述

Widget to display a user selected image as a logo; or, used as a plugin that displays
the image fixed in one of the four corners of the display.
 Copyright 2009-2016 
Edward Caissie (email : edward.caissie@gmail.com)

This program is free software; you can redistribute it and/or modify
 it under the
terms of the GNU General Public License version 2, as published by the Free Software
Foundation.

You may NOT assume that you can use any other version of the GPL.

This program is distributed in the hope that it will be useful,
 but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
 along with this
program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth
Floor, Boston, MA 02110-1301 USA

The license for this software can also likely be found here:
 http://www.gnu.org/
licenses/gpl-2.0.html

## 屏幕截图

 * [[
 * The Options Panel.
 * [[
 * A sample logo image in the sidebar widget area of the [Shades](https://wordpress.org/extend/themes/shades/)
   theme.
 * [[
 * An image in the sidebar and an image “fixed” in the bottom-right corner showing
   multiple instances of the widget.

## 安装

This section describes how to install the plugin and get it working.

 1. Upload `bns-corner-logo.php` to the `/wp-content/plugins/` directory.
 2. Activate through the ‘Plugins’ menu.
 3. Place the BNS Corner Logo widget appropriately in the Appearance | Widgets section
    of the dashboard.
 4. Enter the Title for the widget area if you do not want to use the default “My Logo
    Image”
 5. Enter the complete URL to the image, including the `http://`; Optional: Enter `
    ALT` text for the image; Enter the URL for the image to link to, the “default” 
    URL will be the page the image appears on.
 6. Optional: Check the box to use the default admin (user-ID 1) gravatar; change the
    default gravatar display size (in pixels)
 7. Click “Save”

— or –

 1.  Go to ‘Plugins’ menu under your Dashboard
 2.  Click on the ‘Add New’ link
 3.  Search for bns-featured-category
 4.  Install.
 5.  Activate through the ‘Plugins’ menu.
 6.  Place the BNS Corner Logo widget appropriately in the Appearance | Widgets section
     of the dashboard.
 7.  Enter the Title for the widget area if you do not want to use the default “My 
     Logo Image”
 8.  Enter the complete URL to the image, including the `http://`; Optional: Enter `
     ALT` text for the image; Enter the URL for the image to link to, the “default”
     URL destination will be “_self” (the page the image appears on).
 9.  Optional: Check the box to use the default admin (user-ID 1) gravatar; change 
     the default gravatar display size (in pixels)
 10. Click “Save”

 * To use like a “fixed position” plugin:

 1. Use the checkbox beside “Use like a Plugin?”
 2. Choose the corner of the display from the drop-down box.
 3. Click “Save”

Read this article for further assistance: http://wpfirstaid.com/2009/12/plugin-installation/

NB: This plugin will not resize your images, please make sure you use an appropriate
sized image for the area you are placing it in. For the “fixed position” it is strongly
recommended to use an image that is at least partially transparent for those readers
with smaller screens.

## 常见问题

  Can I use this in more than one widget area?

Yes, this plugin has been made for multi-widget compatibility. Each instance of 
the widget will display, if wanted, differently than every other instance of the
widget.

## 评价

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

### 󠀁[I love this Plugin](https://wordpress.org/support/topic/i-love-this-plugin-216/)󠁿

 [br3wow](https://profiles.wordpress.org/br3wow/) 2017 年 3 月 4 日 1 回复

He delivers everything he promises, perfect!! Thank you!!

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

### 󠀁[Works so well!](https://wordpress.org/support/topic/works-so-well-4/)󠁿

 [ideahost](https://profiles.wordpress.org/ideahost/) 2016 年 9 月 3 日

I wanted to display a mourning ribbon on the top right side of my entire site. This
worked SO WELL. I just went to widgets and ticked the box that said “use as a plugin”
and it did the rest. Remarkable -thank you!

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

## 贡献者及开发者

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

贡献者

 *   [ Edward Caissie ](https://profiles.wordpress.org/cais/)

「BNS Corner Logo」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/bns-corner-logo/contributors)
为本插件所做的贡献。

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

### 对开发感兴趣吗?

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

## 更新日志

#### 2.2

 * Released January 2016
 * Added simple dashboard widget for support references
 * Hide dashboard widget by default via Screen Options
 * Added meta link to WordPress translations page for plugin
 * Added hook to allow for arbitrary change to “Requires at least” version
 * Minor change to `$exit_message` text
 * Minor code formatting changes
 * Updated `.pomo` files and copyright year
 * Updated inline documentation and added call to dashboard widget

#### 2.1

 * Released November 2015
 * Added Plugin Row Meta details
 * Added `install` method as part of version compatibility check
 * Added `load_plugin_textdomain` call
 * Added English (Canada) translation files, and default translation `.pot` file
 * Changed to singleton style structure
 * Moved compatibility check to be parsed first via `register_activation_hook`
 * Moved `update_method` function into class as method
 * Moved `plugin_data` into its own method and modified variable used
 * Re-wrote compatibility message to be more i18n compatible

#### 2.0

 * Released August 2015
 * Added Mallory-Everest filter hook `bnscl_image_tag_alt_title`
 * Updated to use PHP5 constructor objects

#### 1.9

 * Released March 2015
 * Added `BNS Corner Logo Update Message` hook/callback routine
 * Added `BNS_CUSTOM_PATH` and `BNS_CUSTOM_URL` constants
 * Added calls to custom JavaScript and CSS files in the `/bns-customs/` folder
 * Changed `textdomain` from `bns-cl` to the plugin slug `bns-corner-logo`
 * Corrected typo in custom JavaScript file name
 * Minor code reformatting
 * Removed extraneous comments
 * Update version, tested up to, copyright, etc.

#### 1.8.5

 * Released January 2014
 * More sanitizing – `$image_url` and `$image_link`; thanks ScheRas

#### 1.8.4

 * Released January 2014
 * Properly escape the alt image attribute
 * Update copyright year

#### 1.8.3

 * Released December 2013
 * Code reformatting to better reflect WordPress Coding Standards (see https://gist.
   github.com/Cais/8023722)
 * Added functional option to place `bns-corner-logo-custom-style.css` in the `/
   wp-content/` folder

#### 1.8.2

 * Release May 2013
 * Version compatibility update
 * CSS optimization and formatting
 * Minor code formatting

#### 1.8.1

 * Release – February 21, 2013
 * Minor documentation updates
 * Revert: Removed `width: 100%` from `div.bns-logo a img`

#### 1.8

 * Release – February 2013
 * Address “smart-phone” screens being obfuscated by image
 * Documentation updates – including code block termination comments
 * Move all code into class structure
 * Removed `width: 100%` from `div.bns-logo a img`
 * Removed `load_textdomain` as redundant
 * Renamed `BNS_Corner_Logo_Scripts_and_Styles` to `scripts_and_styles`

#### 1.7

 * Release – November 2012
 * Added `bns-corner-logo-scripts.js`
 * Added ‘no-grav’ class to HTML img tag with `jQuery.addClass()` to stop Hovercard
   effect if Gravatar is used
 * Added i18n support to position drop-down in widget control panel
 * Adjusted CSS of top positions if user is logged-in
 * Enqueued JavaScript ‘bns-corner-logo-scripts.js’
 * Enqueued JavaScript ‘bns-corner-logo-custom-scripts.css’ if it exists

#### 1.6.2

 * Use the plugin version data for the version number in `wp_enqueue_style` rather
   than hard-coding a number

#### 1.6.1

 * confirmed compatible with WordPress 3.4
 * inline documentation updates and minor code formatting

#### 1.6

 * released November 2011
 * confirmed compatible with WordPress 3.3
 * added phpDoc Style documentation
 * added i18n support
 * added conditional enqueue of `bns-corner-logo-custom-style.css` stylesheet
 * removed inline `z-index` reference; see `bns-corner-logo` stylesheet for value
 * moved inline style for corner positions to plugin stylesheet
 * refactored `use_gravatar` code to have option of choosing gravatar by user ID

#### 1.5

 * released June 2011
 * confirmed compatible with WordPress version 3.2-beta2-18085
 * enqueue stylesheet
 * updated ‘option’ code to use `selected()`
 * cleaned up and re-sized the widget options display
 * updated the option panel screenshot to show the new size

#### 1.4

 * released February 6, 2011
 * correct version requirement message
 * added option to open “URL to follow” in new page
 * moved common inline styles to plugin stylesheet

#### 1.3.3

 * released December 12, 2010
 * Confirm compatible with WordPress 3.1 (beta)

#### 1.3.2

 * cleaned up temporary fix code

#### 1.3.1

 * temporary fix for non-gravatar images

#### 1.3

 * compatible with WordPress version 3.0
 * changed Gravatar identifier to first administrator by user ID

#### 1.2.3.2

 * compatible with WordPress version 2.9.2
 * updated license declaration

#### 1.2.3.1

 * clarified the plugin is released under a GPLv2 license

#### 1.2.3

 * compatibility check for 2.9.1 completed

#### 1.2.2

 * addressed a few minor Gravatar display issues
 * stopped “ALT” text from displaying when using the Gravatar option
 * addressed image borders around the Gravatar image with CSS

#### 1.2.1

 * corrected issue with plugin selection drop-down list, it now maintains the option
   chosen as the displayed value
 * updated installation instructions to reflect addition of Gravatar support

#### 1.2

 * completed Gravatar implementation – displays Gravatar associated with user-ID
   1 (main administrator)
 * added plugin specific style sheet (required by Gravatar implementation)
 * noted suggested maximum pixel size of Gravatar but no restrictions set
 * updated screenshot of option panel

#### 1.1.1

 * compatibility check for WP2.9 completed
 * increased the width of the option panel
 * beginning of code to implement Gravatar included (but not complete or visually
   apparent)

#### 1.1

 * added version checking using $wp_version
 * improved readability of code

#### 1.0.1

 * code clean up and error trapping
 * minor improvement in IE6 compatibility

#### 1.0

 * Initial Release

## 额外信息

 *  版本 **2.2**
 *  最后更新：**10 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [English (Canada)](https://en-ca.wordpress.org/plugins/bns-corner-logo/) 、 [English (US)](https://wordpress.org/plugins/bns-corner-logo/)
   和 [Russian](https://ru.wordpress.org/plugins/bns-corner-logo/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/bns-corner-logo)
 * 标签
 * [gravatar](https://cn.wordpress.org/plugins/tags/gravatar/)[image](https://cn.wordpress.org/plugins/tags/image/)
   [logo](https://cn.wordpress.org/plugins/tags/logo/)[multiple widgets](https://cn.wordpress.org/plugins/tags/multiple-widgets/)
   [multisite compatible](https://cn.wordpress.org/plugins/tags/multisite-compatible/)
 *  [高级视图](https://cn.wordpress.org/plugins/bns-corner-logo/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Edward Caissie ](https://profiles.wordpress.org/cais/)

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://buynowshop.com/)