---
title: "Login & Register Block"
description: "The PublishPress Login & Register is available in the [PublishPress Blocks](https://publishpress.com/links/blocks) plugin. This block allows you to load a WordPress login or register form inside the block editor. You can also setup a redirect URL after login and customize the…"
url: "https://publishpress.com/knowledge-base/login-register-form-block/"
updated: "2026-10-14"
category: PublishPress Blocks / PublishPress Blocks
---

# Login & Register Block

The PublishPress Login & Register is available in the [PublishPress Blocks](https://publishpress.com/links/blocks) plugin. This block allows you to load a WordPress login or register form inside the block editor. You can also setup a redirect URL after login and customize the design by adding your own logo and colors.

---

## How to add a Login & Register block

You can create a login form or register form for your website by clicking the "Login & Register - PublishPress" button in the [PublishPress Blocks](https://publishpress.com/links/blocks) section.

![](https://publishpress.com/wp-content/uploads/2022/10/Screen-Shot-2022-10-05-at-17.31.24.png)

And you can switch from Login form to Register form by using the navigation bar of this block. You can also make this change in the right sidebar.

![](https://publishpress.com/wp-content/uploads/2020/05/login-register-form.png)

---

## Settings for the Login & Register block

You can go to the right sidebar to adjust the details for your form.

- **Initial Form: **Login or Register
- **Redirect After Login: **Home, Dashboard or Custom
- **Form Width **(px)
- **Show Logo**
- **Logo Width** (px)
- **Show input field icon**
- **Show register/header link**
- **Header Color**
- **Show lost password link**

![](https://publishpress.com/wp-content/uploads/2022/10/Screen-Shot-2022-10-05-at-17.32.01.png)
Screen Shot 2022 10 05 At 17.32.01

---

## Input box settings for the Login & Register block

- **Input placeholder**
  - Login input placeholder
  - Username input placeholder
  - Email input placeholder
- **Text/Input Color**
  - Input background color
  - Input color
  - Text color
- **Border Settings**
  - Border color
  - Border style
  - Border width

![](https://publishpress.com/wp-content/uploads/2020/05/input-placeholder-settings.png)

---

## Submit button settings for the Login & Register block

- **Submit Button Settings**
  - Border and Text
  - Background
  - Button border radius
  - Button position
- **Submit Button Hover**
  - **Hover Colors:**Background, Text and Shadow color
  - **Shadow: **Opacity, Transition speed and Shadow (H (horizontal) offset, V (vertical) offset, blur, spread)
- **Notice:** We strongly recommend that you enable Google reCaptcha to avoid spam bots. [Click here for instructions on enabling reCaptcha](https://publishpress.com/knowledge-base/recapatcha/).

![](https://publishpress.com/wp-content/uploads/2020/05/submit-button-settings.png)
