Skip Navigation

[Resolved] Login Form For CRED

This thread is resolved. Here is a description of the problem and solution.

Problem: display a login form conditionally

Solution: Now the wpv-login-form (Login Form) shortcode can be inserted in any page and can be cutomized.

You can specify the URL to redirect users after login in. You can specify the URL to redirect users when the login fails. Defaults to the current URL.

You can wrap the login form shortcode in a condition to check if a user is already logged in.

Relevant Documentation: Building the “My account” page with a login form

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.


This topic contains 2 replies, has 2 voices.

Last updated by JP359 5 years, 10 months ago.

Assigned support staff: Luo Yang.


Is there a CRED login form that can be done? I have seen some references to a shortcode, but looked like it may be in Beta.

A WordPress login form wouldn't be difficult to make, but I would prefer to do it the CRED way so that I can implement a conditional for new user registration (using CRED) or login if you are a current user.



Luo Yang

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Dear JP,

There isn't login form feature within CRED, but there is a shortcode of Views plugin which can output login form:
This shortcode displays a standard WordPress login form. It does not add any custom HTML structure, only outputs what the native WordPress function does.

Hope it help


Thanks. That's what I figured.