Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Remove Login Link from Registration Successful

Simple Membership Plugin › Forums › Simple Membership Plugin › Remove Login Link from Registration Successful

Tagged: Change Link to Plain Text, login

  • This topic has 17 replies, 2 voices, and was last updated 9 years, 9 months ago by Anonymous.
Viewing 3 posts - 16 through 18 (of 18 total)
← 1 2
  • Author
    Posts
  • November 14, 2016 at 3:37 am #8857
    Anonymous
    Inactive

    No, I don’t need the form Builder. I am using the basic SM registration form that asks for username, email address, password, first and last names. On my website it is at https://my-website/choose-membership-level/registration-form/

    When they fill in the form and click to Register, it takes them to a page that says:

    Registration Successful. Please

      Login

    .

    “Login” is a link. If they choose to click on that link, instead of logging them in, it takes them to another page with username and password, which is a wasted click, since there is already a login box right beside the message in the widget.

    They end up on a page that has login box in the widget, and login box in the content. It looks ridiculous.

    My goal is very simple. I don’t want them to be able to click on the Login link found on the second part of the registration form. I want them to login using the widget.

    It doesn’t matter how that goal is accomplished. I prefer custom css if possible. The div class is swpm-registration-success-msg

    The login link is Login

    If there were just a way to change that link to plain text, they would have no choice but to use the widget to login, and all would be perfect.

    November 14, 2016 at 9:32 am #8862
    mbrsolution
    Moderator

    Hi, the best solution as I mentioned above is to use the Simple Message Custom Plugin. But you said it conflicts with your login widget? How does it conflict with your login widget?

    The other solution you might want to try is to add the following function to your theme functions.php file.

    
    add_action('swpm_front_end_registration_complete', 'sam_after_registration_redirection');
    function sam_after_registration_redirection()
    {
    $url = 'http://www.yourwebsite.com/thank-you/';//TODO - Specify the URL that you want to redirect to
    wp_redirect($url);
    }
    November 16, 2016 at 6:05 pm #8883
    Anonymous
    Inactive

    PERFECT!!!! THANK YOU SO MUCH!!!! EXACTLY WHAT I NEEDED!

  • Author
    Posts
Viewing 3 posts - 16 through 18 (of 18 total)
← 1 2
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy