Widget to display a logo; or, used as a plugin displays image fixed in one of the four corners.
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 : [email protected])
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
This section describes how to install the plugin and get it working.
bns-corner-logo.php
to the /wp-content/plugins/
directory.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.— or –
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).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.
The Options Panel.
A sample logo image in the sidebar widget area of the Shades theme.
An image in the sidebar and an image "fixed" in the bottom-right corner showing multiple instances of the widget.
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.
$exit_message
text.pomo
files and copyright yearinstall
method as part of version compatibility checkload_plugin_textdomain
call.pot
fileregister_activation_hook
update_method
function into class as methodplugin_data
into its own method and modified variable usedbnscl_image_tag_alt_title
BNS Corner Logo Update Message
hook/callback routineBNS_CUSTOM_PATH
and BNS_CUSTOM_URL
constants/bns-customs/
foldertextdomain
from bns-cl
to the plugin slug bns-corner-logo
$image_url
and $image_link
; thanks ScheRasbns-corner-logo-custom-style.css
in the /wp-content/
folderwidth: 100%
from div.bns-logo a img
width: 100%
from div.bns-logo a img
load_textdomain
as redundantBNS_Corner_Logo_Scripts_and_Styles
to scripts_and_styles
bns-corner-logo-scripts.js
jQuery.addClass()
to stop Hovercard effect if Gravatar is usedwp_enqueue_style
rather than hard-coding a numberbns-corner-logo-custom-style.css
stylesheetz-index
reference; see bns-corner-logo
stylesheet for valueuse_gravatar
code to have option of choosing gravatar by user IDselected()