🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Sidebar Login icon
Actively maintained Tested with WP 7.1 #38 in login

Sidebar Login

Easily add an ajax-enhanced login widget to your WordPress site sidebar.

Active installs9K+5K+ tier
Downloads · 30d1.9K▼ -58.3% vs prev. 30d
Rating4.5/578 reviews
Health score83/100Excellent
All-time downloads1.1MSince Aug 2008
Support resolved—No recent threads
RequiresWP 6.6PHP 7.4+
Downloads · 7d479▲ +4.4% week over week
Our verdict

Safe pick

Yes — Sidebar Login is a safe, well-maintained plugin to use in 2026. It runs on 9K+ sites, is rated 4.5/5 and was last updated 2 months ago, and scores 83/100 on our health check.

  • Loved by users — 4.5/5 from 78 reviews
  • Tested with the latest WordPress (7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

4178351.3KSep 4Oct 18Dec 2
Yesterday100
Daily average (1y)26
Peak day1,671Oct 13, 2026
Last 12 months9.4K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Sidebar Login stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
login #33 10,000 Best login plugins →
login widget #9 3,330 Best login widget plugins →
sidebar #4 10,000 Best sidebar plugins →
sidebar login #1 1,870 Best sidebar login plugins →
widget >100 10,000 Best widget plugins →

Version adoption

Share of active sites per release.

  • 3.042.9%
  • 3.131.9%
  • 2.719.9%
  • Other5.3%

Rating breakdown

★★★★★★★★★★ 4.5 from 78 reviews

  • 5★74.4%
  • 4★11.5%
  • 3★6.4%
  • 2★2.6%
  • 1★5.1%

About Sidebar Login

From the official readme · v3.1.0

Description

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, call the_widget() with the Sidebar_Login_Widget class, for example the_widget( 'Sidebar_Login_Widget' );.

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
  • %site_url% – url of your site
  • %admin_url% – url to WP admin
  • %logout_url% – logout url
  • %buddypress_profile_url% – BuddyPress Profile URL
  • %bbpress_profile_url% – bbPress 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 48 (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

  • After logging in, users are only redirected to pages on your site. To allow other hosts, use the allowed_redirect_hosts filter.
  • 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.

Changelog

3.1.0

  • Security – After an AJAX login, only redirect to pages on this site (or hosts allowed with the allowed_redirect_hosts filter), as wp-login.php does. Props Chiranj Damasiya (Chiru) for reporting this responsibly.
  • Security – The default login and logout redirects use the site address rather than the request’s Host header.
  • Security – Shortcodes in a user’s profile fields, such as their display name, no longer run in the widget title.
  • Security – AJAX logins apply the login_errors filter and post every form field, so login hardening and captcha plugins work with the widget.
  • Security – Widget settings are sanitized when saved, and AJAX logins ignore non-string values.
  • Fix – Set a secure login cookie on HTTPS pages when the site address uses HTTP, as wp-login.php does.
  • Fix – Undefined index notices in the widget settings form. Props @JoryHogeveen.
  • Fix – When an AJAX login can’t complete, for example with a two-factor plugin, the form is posted to wp-login.php instead.
  • Fix – Each login form on a page gets its own field IDs, so the labels work.
  • Fix – Double slash in the default Profile link.
  • Fix – Field ID of the logged-in title setting, and the closing tag of login error messages.
  • Fix – Warnings when the widget renders without a Host header, such as in widget editor previews.
  • Tweak – AJAX logins apply the login_redirect filter, as wp-login.php does.
  • Tweak – Load a right-to-left stylesheet for RTL languages.
  • Performance – Template tag values, including the avatar, are built once per widget.
  • Dev – Build tooling moved to @wordpress/scripts, with PHPUnit and end-to-end tests run in CI.
  • Dev – Requires WordPress 6.6 and PHP 7.4.

3.0.1

  • Fix – Fix rendering of additional links when using non-latin characters in the link text.

3.0.0

  • Refactor – Rewritten majority of plugin using more up to date standards and namespaces.
  • Refactor – Cleaned up the widget settings form to make functionality clearer.
  • Refactor – Removed email->username conversion since this is supported natively.
  • Tweak – Added %nicename% placeholder.
  • Tweak – Improved default styling and included extra wrapping divs (.sidebar-login-form, .sidebar-login-account, .sidebar-login-links).
  • Performance – Removed jQuery dependency and BlockUI script.
  • Performance – Removed sidebar_login_js_in_footer filter – this is now true by default.
  • Fix – Prevent notices due to incorrect sizeof() usage.

2.7.3

  • Tweak – %avatar% placeholder.
  • Tweak – Removed translations due to WordPress.org language packs.
  • Tweak – sidebar_login_widget_wp_login_form filter.
  • Fix – Removed force_ssl_login which is deprecated in 4.4 in favour of force_ssl_admin.

2.7.2

  • Feature – Added firstname, lastname, name tags.
  • Fix – PHP4 widget contructors (https://gist.github.com/chriscct7/d7d077afb01011b1839d).
  • Fix – Missing strings in localisation.
  • Fix – Change email to username during wp_authenticate hook.

2.7.1

  • Make rememberme show by default, without a widget save.

Full changelog on WordPress.org →

Screenshots

The widget when logged in
The widget when logged in
The widget when logged out
The widget when logged out
Widget settings
Widget settings

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Sidebar Login alternatives

All login plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WPS Hide Login WPS Hide Login Change wp-login.php to anything you want. by Remy Perona 2M+ ★★★★★★★★★★ 4.8 (2.1K) 3 weeks ago 83
2 Loginizer Loginizer Loginizer is a WordPress security plugin which helps you fight against bruteforce attacks. by Softaculous 1M+ ★★★★★★★★★★ 4.8 (1K) 2 weeks ago 91
3 Security Optimizer – The All-In-One Protection Plugin Security Optimizer – The All-In-One Protection Plugin Secure your WordPress site from brute-force attacks, threats, malware, and bots. Free to… by SiteGround 1M+ ★★★★★★★★★★ 4.5 (158) 3 days ago 96
4 Limit Login Attempts Limit Login Attempts Limit rate of login attempts, including by way of cookies, for each IP. Fully customizable. by Automattic 200K+ ★★★★★★★★★★ 4.6 (202) 4 years ago 47
5 LoginPress | wp-login Custom Login Page Customizer LoginPress | wp-login Custom Login Page Customizer LoginPress is a Custom Login Page Customizer plugin allows you to easily customize the… by Adnan 200K+ ★★★★★★★★★★ 4.8 (1.1K) 2 days ago 95
6 WPS Limit Login WPS Limit Login WPS Limit login limit connection attempts by IP address by NicolasKulka 100K+ ★★★★★★★★★★ 4.9 (83) 2 weeks ago 81
7 Login Lockdown & Protection Login Lockdown & Protection Protect, lockdown & secure login form by limiting login attempts from the same IP & banning… by WebFactory 100K+ ★★★★★★★★★★ 4.3 (61) 2 months ago 89
8 Hide My WP Ghost – Security & Firewall Hide My WP Ghost – Security & Firewall Hide My WP Ghost is a WordPress security plugin that hides WP paths and protects your site… by John Darrel 100K+ ★★★★★★★★★★ 4.5 (373) 2 days ago 90
9 Custom Login Page Customizer Custom Login Page Customizer Custom Login Customizer allows you to easily customize your admin login page, straight from… by Adnan 80K+ ★★★★★★★★★★ 4.8 (410) 11 months ago 60
10 WP fail2ban – Advanced Security WP fail2ban – Advanced Security WP fail2ban uses fail2ban to protect your WordPress site. by invisnet 60K+ ★★★★★★★★★★ 4.2 (71) 3 weeks ago 76

FAQ

Sidebar Login: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Sidebar Login free?

Yes. Sidebar Login is free to download and use from the official WordPress.org plugin directory.

Is Sidebar Login safe to use in 2026?

Yes — Sidebar Login is a safe, well-maintained plugin to use in 2026. It runs on 9K+ sites, is rated 4.5/5 and was last updated 2 months ago, and scores 83/100 on our health check.

How many websites use Sidebar Login?

Sidebar Login is active on 9K+ WordPress websites and has been downloaded 1,057,536 times since it launched in August 2008. It was downloaded 1,945 times in the last 30 days.

Does Sidebar Login work with WordPress 7.1?

Yes. The developer has tested Sidebar Login up to WordPress 7.1.5, the latest release. It requires WordPress 6.6 or newer.

What PHP version does Sidebar Login need?

Sidebar Login requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Sidebar Login last updated?

The latest version, 3.1.0, was released on October 12, 2026 (2 months ago).

Who makes Sidebar Login?

Sidebar Login is developed and maintained by Mike Jolley.

What are the best alternatives to Sidebar Login?

The most popular alternatives to Sidebar Login are WPS Hide Login (2M+ installs), Loginizer (1M+ installs) and Security Optimizer (1M+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open