=== BNS Login ===
Contributors: cais
Donate link: http://buynowshop.com/
Tags: login, dashboard, admin, footer, plugin-only, shortcode
Requires at least: 3.8
Tested up to: 4.9
Stable tag: 2.5.2
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

This plugin provides a link, in the theme footer area, to the dashboard when logged in as well as a log out link. A shortcode is also available.

== Description ==

A simple plugin providing a link to the dashboard; and, a method to log in and out of your blog in the footer of the theme. This is ideal for those not wanting to use the meta widget/code links.

Now with an added toggle to support a minimalist approach using Dashicons.

See the FAQ for more details ...

== Installation ==

1. Extract the files from the compressed "zip" file (note the location of the extracted folder/files)
2. Upload the contents of the `bns-login` folder (from above) to the `/wp-content/plugins/` directory
3. Activate the plugin through the 'Plugins' menu in WordPress

-- or -

1. Go to 'Plugins' menu under your Dashboard
2. Click on the 'Add New' link
3. Search for bns-login
4. Install.
5. Activate through the 'Plugins' menu

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

== Frequently Asked Questions ==
= How can I get support for this plugin? =
Please note, support may be available on the WordPress Support forums; but, it may be faster to visit http://buynowshop.com/plugins/bns-login/ and leave a comment with the issue you are experiencing.

= Is it really that simple? =
Yes, it really is.

= Can the plugin be styled? =
Yes, the plugin text is wrapped in its own `<div id="bns-logged-in" class="bns-login">` or `<div id="bns-logged-out" class="bns-login">` depending on the login status of the user.

Copy the contents of the included `bns-login-style.css` file (which contains a sampling of the CSS elements generated by the plugin) and paste them into a new stylesheet `bns-login-custom-style.css` under `../wp-content/bns-customs/` (you may need to create this folder).
This file should not get over-written with future updates so your specific CSS will remain.

= Can I use the `bns_login` shortcode in a Text widget? =
Yes you can! Actually this plugin makes it possible to use any properly written shortcode to be used in a Text widget.

= How do I change to the Dashicons display? =
All you need to do is add the following `add_filter( 'bns_login_dashed_set', '__return_true' );` to your theme's `functions.php` file; or, if you use a "site plugin" add it to that file.

= Why is the key icon missing when I am logged out? =
The key icon will only appear if you have set Membership to allow "Anyone can register" under Settings > General in your dashboard.
Otherwise, only the lock icon will be displayed when visiting the site and you are not logged in.

= Do any themes support the Dashicons display by default? =
Yes, currently Opus Primus (v1.3+ - https://github.com/Cais/opus-primus) does support this display.
Please contact your theme's author if you need help with modifying your current theme to also have it support this option by default.

== Screenshots ==
1. Logged in text.
2. Logged out text.
3. Logged in using dashicons.
4. Logged out using dashicons.

== Other Notes ==
* 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

== Upgrade Notice ==
Please stay current with your WordPress installation, your active theme, and your plugins.

== Changelog ==
= 2.5.2 =
* Released November 2016.
* Add English (Canadian) translation files.

= 2.5.1 =
* Released November 2016.
* Changed class to singleton-style format and re-organized as needed.
* Added minor formatting changes.
* Updated copyright year references.
* Updated i18n compatibility.

= 2.5 =
* Released April 2015
* Added `bns_login_in_plugin_update_message` function
* Clean-up extraneous documentation
* Update copyright year and tested up to version

= 2.4 =
* Released October 2014
* Added filter `dashicons` dependency to the main stylesheet
* Added toggle to use `dashicons` instead of text
* Added some basic sanitization to URL components and structures
* Added `is_ssl()` to detect correct protocol for logout return URL
* Update copyright year references to include 2014 in all files
* Minor whitespace, documentation, and code formatting changes
* Defined `BNS_CUSTOM_PATH` and `BNS_CUSTOM_URL` for customizations
* Implement the use of `../wp-content/bns-customs/` for customizations
* Added screenshots to show `dashicons` in use.
* Updated `readme.txt` with additional FAQ items about using the `dashicons` display

= 2.3.3 =
* Released March 2014
* Inline documentation, version compatibility, and copyright years updated
* Added `plugin_data` method
* Added `plugin_row_meta` links

= 2.3.2 =
* Release December 2013
* Add the option to put custom stylesheet in `/wp-content/` folder

= 2.3.1 =
* Release August 2013
* Added documentation for Jetpack Infinite Scroll Compatibility (JISC) function
* Added specific id wrappers for the credit details in JISC function
* Added link to Theme reference pointing to Theme URI in JISC function

= 2.3 =
* Release August 2013
* Added Jetpack Infinite Scroll compatibility

= 2.2 =
* Release July 2013
* Added dynamic filter parameter `bns_login`

= 2.1.1 =
* Release May 2013
* Correct default redirect URL to point to 'wp-admin'

= 2.1 =
* Released May 2013
* Added plugin version data dynamically to enqueue calls
* Added (enqueued) 'BNS Login Form Style' to style the form
* Added `bns_login_form` (`wp_login_form` wrapper) for use as the shortcode output
* Updated for version compatibility and minor code formatting

= 2.0.1 =
* Released February 2013
* Documentation updates (copyright year, compatibility version)
* Added code block termination comments
* Changed MultiSite conditional to use `is_multisite`

= 2.0 =
* Released November 2012
* Add empty hooks before and after main output
* Add filter hooks to all of the text output
* Add Shortcode functionality to text widgets
* Add Shortcode for this plugin
* Add wrapping classes around output elements
* Refactored `bns_login_main` to use hooks instead of array elements
* Remove `load_textdomain` as redundant
* Updated 'readme' with FAQ on shortcode use

= 1.9 =
* Implemented OOP style class coding

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

= 1.8 =
* released November 2011
* confirmed compatible with WordPress 3.3
* added phpDoc Style documentation
* added conditional check for custom stylesheet
* cleaned up use of `wp_register`
* general code tidying
* wrap `BNS_Login` and `bns_login_output` in `function_exists` conditionals

= 1.7 =
* released June 2011
* confirmed compatible with WordPress version 3.2-RC1
* minor changes to front-facing text
* allow editable parameters for the text
* added editable separator character(s)
* separator character(s) has its own style class, `bns-login-separator`
* added 'Register' link if the site allows for user self-registration; thanks to Andy Fragen for the idea.

= 1.6 =
* released June 2011
* confirmed compatible with WordPress version 3.2-beta2-18085
* enqueued the stylesheets
* added the ability to put custom CSS into `bns-login-custom-style.css` that will not be over-written with updates.

= 1.5.3 =
* released December 11, 2010
* Confirm compatible with WordPress 3.1 (beta)

= 1.5.2 =
* added 'clear:both;' to '.bns-login'

= 1.5.1 =
* released: 29 Aug 2010
* compatibility check with WordPress 3.0.1
* no other modifications

= 1.5 =
* minor code corrections
* code clean up to meet WP Standards

= 1.4 =
* compatible with WordPress version 3.0
* added plugin specific style sheet
* centered the text as a default in the style sheet

= 1.3.3.2 =
* compatible with WordPress version 2.9.2
* updated license declaration

= 1.3.3.1 =
* clarified the plugin release under a GPL license

= 1.3.3 =
* compatibility check for 2.9.1 completed

= 1.3.2 =
* compatibility check for 2.9 completed

= 1.3.1 =
* minor code error correction

= 1.3 =
* Code clean up
* Comments and documentation added
* Version control added
* localization code init function

= 1.2 =
* Added localization code

= 1.1 =
* Added WordPressMU Compatibility - Logout returns user to main domain (home) of WPMU installation.
* Corrected deprecated parameter variable 'siteurl' to 'url'

= 1.0 =
* Initial Release