Shortcodes not working for login/register forms

Support MB User Profile Shortcodes not working for login/register formsResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #29009
    Aaron BAaron B
    Participant

    I'm following the tutorial here:
    https://metabox.io/create-wordpress-custom-user-profile-page-in-frontend/#more-17815

    Using this shortcode [ mb_user_profile_login label_submit="Login" label_remember="Remember your login" label_lost_password="Lost password?" ] in a shortcode block. No output. Is there a trick I'm missing?

    #29010
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thank you for getting in touch.

    Please remove two spaces between the square brackets and make sure that you are logged out to view the login form.

    [mb_user_profile_login label_submit="Submit" label_remember="Remember" label_lost_password="Lost Password?" confirmation="You are now logged in."]
    

    Get more details on the documentation https://docs.metabox.io/extensions/mb-user-profile/#login-form

    #29022
    Aaron BAaron B
    Participant

    D'oh! I hadn't noticed the spaces. Thanks for pointing it out. Works like a charm. Sorry, I'm a beginner to Metabox. I'm attempting to replace a Toolset with it so I'll have further questions, I'm sure. Thanks.

    #29028
    Long NguyenLong Nguyen
    Moderator

    Great!

    Let me know if you have any questions.

    #29557
    s.liem@me.com[email protected]
    Participant

    I also have trouble with setting up user profiles. It starts with the creation of the Registration form. I have followed both the article and the docs, but it didn't help on my site.

    As you can see on this screenshot, the shortcode applied there should display the default registration fields (username, email, passwordx2), but it shows only blank space on the front end:

    [mb_user_profile_register id="" label_submit="Register" confirmation="Your account has been created successfully."]

    I have checked settings and also deactivated other plugins. I have also switched the theme (kadence) to other themes (2021 and 2019), but same result on the page.

    any idea about how to further troubleshoot this? Did I apply the wrong shortcode?

    Thank you in advance and kind regards,
    Sascha

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.