Back to Support Content and Media Blocks Login/Out Block

Login/Out Block

The Login/out block displays login and logout links on your site.

Add the Login/Out Block

To add the Login/out block, click on the + Block Inserter icon and search for “login”. Click it to add the block to the post or page.

💡

Using your keyboard, you can also type /login on a new line and press enter to quickly add a new Login/out block.

GIF showing the process of adding a login/out block using the keyboard shortcut.

For more information, visit our detailed instructions on adding blocks.

Block Settings

When you select a block, you will find additional block settings in the right sidebar. If you do not see the sidebar, you may need to click the Settings icon in the top-right corner to bring up the settings. This icon looks like a square with two uneven columns:

The settings icon in the Editor with a tooltip "Settings" below it.
Click the Settings icon to open the block settings
Login/out block settings
Block settings

With Display login as form turned off, “Log in” will show as a text that links to the WordPress.com login screen. With this option turned on, your page will show a login form similar to this (the actual appearance depends on your theme):

Turning on Redirect to current URL will take you to the current page upon logging in.

Advanced

For more, visit our detailed instructions on Advanced settings.

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!