Skip Navigation

[Resolved] Login Shortcode Question

This support ticket is created 5 years, 7 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.

This topic contains 1 reply, has 1 voice.

Last updated by julieP 5 years, 7 months ago.

Author
Posts
#1226336

Last year I raised this ticket https://toolset.com/forums/topic/login-form-field-label-text/ (it's a short one)

I've discovered today that the shortcode I produced using the source code for [wpv_login_form] displays content even for users that are already logged in. The Toolset login form shortcode disappears for logged in users (as of course it should). Without having to wrap my custom login shortcode in Access shortcodes, is there a way I can achieve the same behaviour please?

#1226354

Added conditional statement using is_user_logged_in()

doh