Sidebar Login

Sidebar Login

Wordpress plugin

Install on Wordpress

App Details

Sidebar Login adds a useful login widget which you can use to login from in the sidebar of your WordPress powered blog.

Once a user logs in they are redirected back to the page they logged in from, rather than the admin panel (this is configurable).

If you’d like to contribute code to the plugin you can do so via GitHub.

If you’d like to contribute a translation, the project is hosted on WordPress.org.

Usage

Simply go to Appearance > Widgets and drag “sidebar login” to the sidebar of your choice. Within the widget are several options you can use for changing the titles or the links displayed to the user.

To use this widget in a template, use the the_widget() function which WordPress provides.

Tags for titles + links

These tags can be used in the widget settings for titles + links and will be replaced at runtime.

  • %username% – logged in users display name
  • %userid% – logged in users ID
  • %firstname% – logged in users firstname
  • %lastname% – logged in users lastname
  • %name% – logged in users firstname + lastname
  • %nicename% – user nice name
  • %admin_url% – url to WP admin
  • %logout_url% – logout url
  • %buddypress_profile_url% – Buddypress Profile URL
  • %bbpress_profile_url% – Buddypress Profile URL
  • %avatar% – User Avatar

Filter Reference

  • sidebar_login_include_css – return false to not include the CSS stylesheet
  • sidebar_login_widget_logged_in_links – An array of links shown when logged in.
  • sidebar_login_widget_logged_out_links – An array of links shown when logged out.
  • sidebar_login_widget_display – Return false to hide the widget.
  • sidebar_login_widget_logged_in_title – The widget title shown when logged in.
  • sidebar_login_widget_avatar_size – The avatar size – defaulted to 38 (thats in px)
  • sidebar_login_widget_logged_out_title – The widget title shown when logged out.
  • sidebar_login_widget_form_args – Arguments for the wp_login_form function.
  • sidebar_login_widget_login_redirect – Redirect URL after login.
  • sidebar_login_widget_logout_redirect – the redirect after logging out.
  • sidebar_login_widget_register_url – The URL for registration links.
  • sidebar_login_widget_lost_password_url – The URL for lost password links.
  • sidebar_login_widget_wp_login_form – The HTML of the Login form.

Action Reference

  • sidebar_login_widget_start – Fired before the widget.
  • sidebar_login_widget_{logged_in || logged_out}_content_start – Fired before the widget content.
  • sidebar_login_widget_before_{logged_in || logged_out}_links – Fired before the links.
  • sidebar_login_widget_after_{logged_in || logged_out}_links – Fire after the links.
  • sidebar_login_widget_{logged_in || logged_out}_content_end – Fired after the widget content.
  • sidebar_login_widget_end – Fired after the widget.

Notes

  • Due to AJAX not working across different domains (see same_origin_policy), AJAX logins will be disabled if your site it non-SSL, but the FORCE_SSL_ADMIN constant is set to true. Instead it will fallback to a traditional POST.

Pricing

Starting from $0 per month.

Check Out the Petition Form Widget

By Common Ninja

Petition FormTry For Free!

App Info

Rating

Reviewers

78 reviews

Tags

login
login widget
sidebar
sidebar login
widget

Developed By

Mike Jolley (a11n)

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Maps

Maps plugins for Wordpress

Translation

Translation plugins for Wordpress

Chat

Chat plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Contact

Contact plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Forms

Forms plugins for Wordpress

Comments

Comments plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Comments

Comments plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Video Player

Video Player plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Security

Security plugins for Wordpress

Ads

Ads plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Membership

Membership plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Petition Form for Wordpress logo

Petition Form

Gather supporter signatures with a petition form that collects entries, saves submissions, sends notifications, and helps you drive meaningful change efficiently.

Team Members Blobs for Wordpress logo

Team Members Blobs

Use team members blobs to present your staff in a clear, creative format that builds trust, supports transparency, and strengthens brand credibility.

Coupon Bar for Wordpress logo

Coupon Bar

Display discounts with a coupon bar that highlights special offers, drives urgency, and helps convert visitors into paying customers.

Image Hover Effects for Wordpress logo

Image Hover Effects

Use image hover effects to add animations, highlight key visuals, and keep visitors engaged with dynamic image reveals.

Poll for Wordpress logo

Poll

Create interactive polls with a poll widget that gathers real time feedback, boosts engagement, and helps you understand visitor opinions quickly and clearly.

Reviews Badge for Wordpress logo

Reviews Badge

Use a reviews badge to highlight your ratings, build trust at a glance, improve credibility, and help increase conversions across your site.

All In One Chat for Wordpress logo

All In One Chat

Add a unified chat tool to your site that connects users via WhatsApp, Messenger, Telegram, or email for seamless support.

Countdown for Wordpress logo

Countdown

Add a countdown timer to your site to highlight upcoming events or launches and encourage timely user action.

Age Verification for Wordpress logo

Age Verification

Verify visitor age with an age verification popup that helps you meet legal requirements, protect your business, and ensure responsible access.

Process for Wordpress logo

Process

Use a process widget to present tasks in a clear visual sequence, showing each step with images and text to improve understanding and user engagement.

Slide-In Panel for Wordpress logo

Slide-In Panel

Slide in panel that appears from the top or bottom to highlight offers, capture attention, and guide visitors toward more conversions.

Sitejabber Reviews for Wordpress logo

Sitejabber Reviews

Show Sitejabber reviews to build trust, strengthen credibility, and help visitors make confident purchase decisions that support higher sales.

More plugins

plugins You Might Like

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms