Title: Sidebar Login
Author: Mike Jolley
Published: <strong>2 augustus 2008</strong>
Last modified: 12 oktober 2026

---

Plugins zoeken

![](https://ps.w.org/sidebar-login/assets/banner-772x250.png?rev=2396264)

![](https://ps.w.org/sidebar-login/assets/icon.svg?rev=3741943)

# Sidebar Login

 Door [Mike Jolley](https://profiles.wordpress.org/mikejolley/)

[Download](https://downloads.wordpress.org/plugin/sidebar-login.3.1.0.zip)

 * [Details](https://nl.wordpress.org/plugins/sidebar-login/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/sidebar-login/#reviews)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/sidebar-login/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/sidebar-login/)

## Beschrijving

_Sidebar Login_ voegt een handige login widget toe welke je kan gebruiken om in 
te loggen vanaf de zijbalk van je WordPress aangedreven blog.

Als een gebruiker inlogt word deze geredirect terug naar de pagina waarvandaan ze
inlogden in plaats van het beheerscherm (dit is aan te passen).

Als je code wilt bijdragen aan de plugin kan je dat doen via [GitHub](https://github.com/mikejolley/sidebar-login).

Als je een vertaling wil bijdragen, [dit is beschikbaar op WordPress.org](https://translate.wordpress.org/projects/wp-plugins/sidebar-login)

#### Gebruik

Ga naar `Weergave > Widgets` en sleep “sidebar login” naar de sidebar van je keuze.
Binnen de widget zijn verschillende opties welke je kan gebruiken voor het aanpassen
van de titels en links welke aan de gebruiker worden getoond.

To use this widget in a template, call [`the_widget()`](https://developer.wordpress.org/reference/functions/the_widget/)
with the `Sidebar_Login_Widget` class, for example `the_widget( 'Sidebar_Login_Widget');`.

#### Tags voor titels en links

Deze tags kunnen worden gebruikt in de widget instellingen voor titels en links 
en worden in runtime vervangen.

 * `%username%` – ingelogde gebruiker weergave-naam
 * `%userid%` – ingelogde gebruiker user-id
 * `%firstname%` – ingelogde gebruiker voornaam
 * `%lastname%` – ingelogde gebruiker achternaam
 * `%name%` – ingelogde gebruiker voornaam en achternaam
 * `%nicename%` – user nice name
 * `%site_url%` – url of your site
 * `%admin_url%` – URL voor WP-admin
 * `%logout_url%` – uitloggen url
 * `%buddypress_profile_url%` – BuddyPress profiel URL
 * `%bbpress_profile_url%` – bbPress profiel URL
 * `%avatar%` – Gebruikers Avatar

#### Filter Referentie

 * `sidebar_login_include_css` – Return false om de CSS stylesheet niet te laden.
 * `sidebar_login_widget_logged_in_links` – Een array van links welke worden weergegeven
   als je bent ingelogd.
 * `sidebar_login_widget_logged_out_links` – Een array van links welke worden weergegeven
   als je bent uitgelogd.
 * `sidebar_login_widget_display` – Return false om de widget te verbergen.
 * `sidebar_login_widget_logged_in_title` – De widget titel welke wordt weergegeven
   wanneer je bent ingelogd.
 * `sidebar_login_widget_avatar_size` – De avatar grootte – standaard ingesteld 
   op 48 (dat is in px)
 * `sidebar_login_widget_logged_out_title` – De widget titel welke wordt weergegeven
   wanneer je bent uitgelogd.
 * `sidebar_login_widget_form_args` – Argumenten voor de wp_login_form functie.
 * `sidebar_login_widget_login_redirect` – Redirect URL na inloggen.
 * `sidebar_login_widget_logout_redirect` – de redirect na uitloggen.
 * `sidebar_login_widget_register_url` – De URL voor registratie links.
 * `sidebar_login_widget_lost_password_url` – De URL voor wachtwoord vergeten links.
 * `sidebar_login_widget_wp_login_form` – De HTML van het inlogformulier.

#### Actie Referentie

 * `sidebar_login_widget_start` – Wordt aangeroepen voor de widget.
 * `sidebar_login_widget_{logged_in || logged_out}_content_start` – Wordt aangeroepen
   voor de widget inhoud.
 * `sidebar_login_widget_before_{logged_in || logged_out}_links` – Wordt aangeroepen
   voor de links.
 * `sidebar_login_widget_after_{logged_in || logged_out}_links` – Wordt aangeroepen
   na de links.
 * `sidebar_login_widget_{logged_in || logged_out}_content_end` – Wordt aangeroepen
   na de widget inhoud.
 * `sidebar_login_widget_end` – Wordt aangeroepen na de widget.

#### Notities

 * After logging in, users are only redirected to pages on your site. To allow other
   hosts, use the `allowed_redirect_hosts` filter.
 * Omdat AJAX niet cross-domain kan werken (zie [same_origin_policy](http://en.wikipedia.org/wiki/Same_origin_policy)),
   AJAX logins worden uitgeschakeld als je site geen SSL heeft, terwijl de FORCE_SSL_ADMIN
   constante op true staat. De widget valt dan terug op een traditionele POST.

## Schermafbeeldingen

[⌊De widget als ingelogd⌉⌊De widget als ingelogd⌉[

De widget als ingelogd

[⌊De widget als uitgelogd⌉⌊De widget als uitgelogd⌉[

De widget als uitgelogd

[⌊Widget Instellingen⌉⌊Widget Instellingen⌉[

Widget Instellingen

## Beoordelingen

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

### 󠀁[Easy to apply Widget and GDPR compliance](https://wordpress.org/support/topic/easy-to-apply-widget-and-gdrp-compliance/)󠁿

 [Anonymous User 17709229](https://profiles.wordpress.org/anonymized-17709229/) 
13 november 2022

Easy to implement. Some minor custom css work done and voila great result. I like
that the widget does not log something. It seems fully GDPR compliant. Great Job!
BR Peter

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

### 󠀁[Hace lo que necesitaba](https://wordpress.org/support/topic/hace-lo-que-necesitaba/)󠁿

 [javigandia](https://profiles.wordpress.org/javigandia/) 8 maart 2022

Me ha ahorrado mucho tiempo. Muchas gracias funciona perfectamente con mi tema y
con la última versión de Wordpress.

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

### 󠀁[Ez and quick setup – well documented – Hooks yeah!](https://wordpress.org/support/topic/ez-and-quick-setup-well-documented-hooks-yeah/)󠁿

 [AITpro](https://profiles.wordpress.org/aitpro/) 28 februari 2021

Great job! Love it when it only takes me a couple of minutes to setup and test a
new plugin. Documentation is clear and simple to understand. Hooks Yeah! Will be
hooking my plugin's CAPTCHA feature into your plugin. Awesome work!

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

### 󠀁[thanks 🙂 super plugin](https://wordpress.org/support/topic/thanks-super-plugin-2/)󠁿

 [Anonymous User 15932932](https://profiles.wordpress.org/anonymized-15932932/) 
13 februari 2021

thanks 🙂 super plugin

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

### 󠀁[Love it — needs reCaptcha](https://wordpress.org/support/topic/love-it-needs-recaptcha/)󠁿

 [whartung](https://profiles.wordpress.org/whartung/) 12 januari 2021

I really need this to use a reCaptcha, to filter out robots. I love this sidebar
login, it's so easy to use.

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

### 󠀁[Please update](https://wordpress.org/support/topic/please-update-88/)󠁿

 [Knud](https://profiles.wordpress.org/knud/) 3 december 2019

Please update… I just have this: Warning: sizeof() [function.sizeof]: Parameter 
must be an array or an object that implements Countable in /var/www/railworks.dk/
public_html/wp-content/plugins/sidebar-login/includes/class-sidebar-login-widget.
php on line 213

 [ Lees alle 79 beoordelingen ](https://wordpress.org/support/plugin/sidebar-login/reviews/)

## Bijdragers & ontwikkelaars

“Sidebar Login” is open source software. De volgende personen hebben bijgedragen
aan deze plugin.

Bijdragers

 *   [ Mike Jolley ](https://profiles.wordpress.org/mikejolley/)

“Sidebar Login” is vertaald in 25 localen. Dank voor [de vertalers](https://translate.wordpress.org/projects/wp-plugins/sidebar-login/contributors)
voor hun bijdragen.

[Vertaal “Sidebar Login” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/sidebar-login)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/sidebar-login/), haal
de [SVN repository](https://plugins.svn.wordpress.org/sidebar-login/) op, of abonneer
je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/sidebar-login/) 
via [RSS](https://plugins.trac.wordpress.org/log/sidebar-login/?limit=100&mode=stop_on_copy&format=rss).

## 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 – Vertalingen verwijderd vanwege WordPress.org vertaalpakketten.
 * Tweak – sidebar_login_widget_wp_login_form filter.
 * Fix – force_ssl_login welke is verouderd in 4.4 vervangen voor 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.

#### 2.7.0

 * Renamed textdomain from sidebar_login to sidebar-login.
 * Moved translations to Transifex.
 * Added Grunt.
 * Removed deprecated sidebarlogin function.
 * Option to show/hide the rememberme checkbox.
 * Allow login using an email address – username will be queried based on address
   given.

#### 2.6.0

 * Support for Buddypress Profile URL via %buddypress_profile_url%. Thanks Tim Reeves.
 * Support for BBPress Profile URL via %bbpress_profile_url%.
 * Slowaakse vertaling door Alexander Kriss
 * Zweedse vertaling door Tommy Wahlund
 * Nederlandse vertaling door Bert Smulders
 * Russian and Ukranian translation by Yarri
 * Polish translation by Czeslaw Liebert

#### 2.5.3

 * Removed nonce check on frontend due to conflict with caching scripts
 * Arabic translation by Mamoun Elkheir
 * Brazillian translation by Marco André Argenta
 * Italian translation by Adriano Calvitto

#### 2.5.2

 * Latvian translation by Lana Mangusa
 * German translation by Klaus-Peter
 * Wrapped response to prevent crap plugins breaking the response

#### 2.5.1

 * Filterable error classes
 * Tweak to how SSL logins are handled.
 * FR translation
 * Fix $link_cap

#### 2.5.0

 * Rewrite and code cleanup – class based.
 * Optionless – Moved all settings to the widgets themselves rather than having 
   a settings page.
 * Removed all localisations (these are out of date, and need re-doing)
 * Removed JSONP/GET request – although this allowed logins between urls of different
   origin, it poses a security risk as GET requests are logged.

#### 2.4.0

 * XSS Fix
 * Added classes to tags in widget
 * Improved/filtered register and lost password links
 * Removed the outdated openid/fb code. Hook it in if you want it.
 * Removed markup in favour of wp_login_form()

#### 2.3.6

 * Sanitize REQUEST_URI/$pageURL

#### 2.3.5

 * Use jsonp to enable login from http to https
 * Fixed remember me logic (in js)
 * Sanitize redirect url
 * Removed esc_attr from username and password to prevent breaking login
 * Updated french and italian langs
 * Added Swedish lang by Ove Kaufeldt

#### 2.3.4

 * SSL URL tweak
 * Better handling for force_ssl_login and force_ssl_admin

#### 2.3.3

 * Removed a link after request from WordPress.org staff
 * wp_lostpassword_url() for lost password link
 * sanitized user_login
 * Uses wp_ajax for ajax login instead of init functions
 * Secure cookie logic change

#### 2.3.2

 * Login redirect fix

#### 2.3.1

 * Error loop fix
 * Added filter for errors – sidebar_login_error

#### 2.3

 * Project op GitHub gezet
 * Nieuwe vertalingen toegevoegd
 * Nieuw opties scherm
 * AJAX Login

#### 2.2.15

 * FORCE_SSL_LOGIN/ADMIN double login issue fix (Thanks to bmaupin)
 * Only added openid styling if other plugin is installed
 * Meer talen toegevoegd

#### 2.2.14

 * Further revised the |true / |user_capability code – only need to use one or the
   other now.

#### 2.2.13

 * Vertalingen bijgewerkt
 * Support for https and style.css
 * is_date fix
 * Added option for headings
 * Removed attribute_escape for esc_attr – therefore this version needs wp 2.8 and
   above
 * USER LEVEL option gone – replaced with USER CAPABILITY instead – use a capability
   like ‘manage_options’

#### 2.2.12

 * Headers sent bugs fixed
 * Avatar display option

#### 2.2.11

 * More/Updated langs

#### 2.2.10

 * Moved settings to appearance menu
 * Changed min user level to capilbilty ‘manage_options’
 * Fixed menu showing in wordpress 3.0
 * Added %USERID% for links
 * Fixed white space bug for link options

#### 2.2.8

 * Minimaal gebruikersniveau instelling voor links. Voeg het gebruikersnivaue in
   na |true als je de ingelogde links defineert.
 * ‘Instellingen’ verplaatst van ‘Extra’ naar ‘Instellingen’.
 * Ampersand gecodeerd voor valide markup
 * Labels rondgeschoven
 * SSL URL gefixt
 * Herbruikbare widget

#### 2.2.6

 * Changelog toegevoegd aan de readme.
 * OpenID Plugin (https://wordpress.org/extend/plugins/openid/) integratie.
 * %username% kan worden gebruikt in de links welke worden weergegeven als je bent
   ingelogd (wordt vervangen door gebruikersnaam)
 * WP-FacebookConnect (https://wordpress.org/extend/plugins/wp-facebookconnect/)
   integratie (niet getest!)
 * Kleine reparaties (een hele berg aangepakt)

## Meta

 *  Versie **3.1.0**
 *  Laatst geüpdatet **4 weken geleden**
 *  Actieve installaties **9.000+**
 *  WordPress versie ** 6.6 of nieuwer **
 *  Getest t/m **7.1.4**
 *  PHP versie ** 7.4 of nieuwer **
 *  Talen
 * [Bengali (Bangladesh)](https://bn.wordpress.org/plugins/sidebar-login/), [Bulgarian](https://bg.wordpress.org/plugins/sidebar-login/),
   [Catalan](https://ca.wordpress.org/plugins/sidebar-login/), [Czech](https://cs.wordpress.org/plugins/sidebar-login/),
   [Danish](https://da.wordpress.org/plugins/sidebar-login/), [Dutch](https://nl.wordpress.org/plugins/sidebar-login/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/sidebar-login/), [English (US)](https://wordpress.org/plugins/sidebar-login/),
   [Finnish](https://fi.wordpress.org/plugins/sidebar-login/), [French (France)](https://fr.wordpress.org/plugins/sidebar-login/),
   [Galician](https://gl.wordpress.org/plugins/sidebar-login/), [German](https://de.wordpress.org/plugins/sidebar-login/),
   [German (Switzerland)](https://de-ch.wordpress.org/plugins/sidebar-login/), [Italian](https://it.wordpress.org/plugins/sidebar-login/),
   [Japanese](https://ja.wordpress.org/plugins/sidebar-login/), [Korean](https://ko.wordpress.org/plugins/sidebar-login/),
   [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/sidebar-login/), [Persian](https://fa.wordpress.org/plugins/sidebar-login/),
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/sidebar-login/), [Russian](https://ru.wordpress.org/plugins/sidebar-login/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/sidebar-login/), [Spanish (Colombia)](https://es-co.wordpress.org/plugins/sidebar-login/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/sidebar-login/), [Spanish (Venezuela)](https://ve.wordpress.org/plugins/sidebar-login/),
   [Swedish](https://sv.wordpress.org/plugins/sidebar-login/) en [Turkish](https://tr.wordpress.org/plugins/sidebar-login/).
 *  [Vertaal in je eigen taal](https://translate.wordpress.org/projects/wp-plugins/sidebar-login)
 * Tags
 * [login](https://nl.wordpress.org/plugins/tags/login/)[login widget](https://nl.wordpress.org/plugins/tags/login-widget/)
   [sidebar](https://nl.wordpress.org/plugins/tags/sidebar/)[sidebar login](https://nl.wordpress.org/plugins/tags/sidebar-login/)
   [widget](https://nl.wordpress.org/plugins/tags/widget/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/sidebar-login/advanced/)

## Waarderingen

 4.5 van 5 sterren.

 *  [  58 5 sterren beoordelingen     ](https://wordpress.org/support/plugin/sidebar-login/reviews/?filter=5)
 *  [  9 4 sterren beoordelingen     ](https://wordpress.org/support/plugin/sidebar-login/reviews/?filter=4)
 *  [  5 3 sterren beoordelingen     ](https://wordpress.org/support/plugin/sidebar-login/reviews/?filter=3)
 *  [  2 2 sterren beoordelingen     ](https://wordpress.org/support/plugin/sidebar-login/reviews/?filter=2)
 *  [  4 1 sterren beoordelingen     ](https://wordpress.org/support/plugin/sidebar-login/reviews/?filter=1)

[Je beoordeling](https://wordpress.org/support/plugin/sidebar-login/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/sidebar-login/reviews/)

## Bijdragers

 *   [ Mike Jolley ](https://profiles.wordpress.org/mikejolley/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/sidebar-login/)

## Doneren

Wil je de groei van deze plugin ondersteunen?

 [ Doneer aan deze plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mike.jolley@me.com&currency_code=&amount=&return=&item_name=Donation+for+Sidebar+Login)