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 support ticket is created 8 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by JP359 8 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#346960

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.

Thanks.

#347046

Dear JP,

There isn't login form feature within CRED, but there is a shortcode of Views plugin which can output login form:
wpv-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.
https://toolset.com/documentation/views-shortcodes/#wpv-login-form

Hope it help

#347207

Thanks. That's what I figured.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.