Skip Navigation

[Resuelto] Form Login Required

This support ticket is created hace 9 años, 7 meses. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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)

Etiquetado: 

This topic contains 4 respuestas, has 2 mensajes.

Last updated by larryL hace 9 años, 7 meses.

Assisted by: Luo Yang.

Autor
Mensajes
#213821

I've used Access to require Subscriber and above to Create. So now when someone (who is not logged in) clicks on those form links they see nothing. How can I supply some helper information and the wordpress login field/social login block so they can do what they need to do?

Thanks!

Larry

#213952

Hi Larry,

I suggest you try "Limiting read access to specific content"
https://toolset.com/documentation/user-guides/limiting-read-access-specific-content/
put the CRED form into a page, limit the access to the page with a custom user group, display a custom content template for People Without Read Permission, in the content template supply some helper information and the wordpress login field/social login block

#215563

OK, how do I place the login is into the custom template?

#215752

Please try create a custom shortcode for it like this:
1) add codes in your theme/functions.php

add_shortcode('my-login-form', 'my_login_form_func');
function my_login_form_func($atts){
	return wp_login_form(array('echo'=> false));
}

2) put the shortcode where you need: [my-login-form]

#215919

Thanks!

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