Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

Login after Activation

This topic is resolved
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • kam
    Participant
    • 40 Topics
    • 139 Posts
    @harryshapes

    Hi,

    When a member signs up they receive an email to activate their account. Once they activate they are prompted to log in. When you click the log in button it takes you to the back end WordPress log in page where in the main title it states ‘WordPress’.

    I do not want ‘wordpress’ to show. How do I remove this so I can place another text there.

    Alternatively how do you redirect to say the front log in page on the website when prompted to log in after Activation?

    Please see attached images

    Thanks

    kam
    Participant
    • 40 Topics
    • 139 Posts
    @harryshapes
    This reply has been marked as private.
    Cpandya
    Participant
    • 2 Topics
    • 11 Posts
    @cnpandya

    I’ve Same Issue can you give fix for this ?

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi @harryshapes, @cnpandya,

    The best way to prevent this screen to appear is to redirect all calls from wp-login.php to your new login page created using Login With Ajax (https://wordpress.org/plugins/login-with-ajax/).

    To do so, simply add the following code snippet to your website:

    function gwangi_custom_login_redirect(){
      global $pagenow;
      if( 'wp-login.php' == $pagenow ) {
        if ( isset( $_POST['wp-submit'] ) ||
          ( isset($_GET['action']) && $_GET['action']=='logout') ||
          ( isset($_GET['checkemail']) && $_GET['checkemail']=='confirm') ||
          ( isset($_GET['checkemail']) && $_GET['checkemail']=='registered') ) return;
        else wp_redirect(home_url('/login'));
        exit();
      }
    }
    add_action( 'init', 'gwangi_custom_login_redirect' );

    Don’t forget to replace the /login part by your login page name if you are not using the same.

    To add this code snippet to your site, we recommend that you use a the Code Snippets plugin (https://wordpress.org/plugins/code-snippets/). If you have never activated this plugin, please read the following post:

    Adding Custom PHP Without Changing Your Child Theme

    We hope this will solve your issue. ?

    Best,

    kam
    Participant
    • 40 Topics
    • 139 Posts
    @harryshapes

    Thanks for your reply..

    Would you mind clarifying exactly what file and where in the website I would need to add this code..

    Do I do it purely on the WordPress side through the code snippet plugin or ftp into it and ammend the files.. if so what files?

    Please advise

    Thanks

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi @harryshapes,

    We recommend that you use a the Code Snippets plugin (https://wordpress.org/plugins/code-snippets/). Simply create a new snippet and paste the provided code. Then, just select the “Only run on site front-end” option and hit the “Save Changes and Activate” button.

    It should do the trick. ?

    If you have never activated this plugin, please read the following post:

    Adding Custom PHP Without Changing Your Child Theme

    We hope this will help.

    Regards,

    kam
    Participant
    • 40 Topics
    • 139 Posts
    @harryshapes

    Ok thanks..

    I’ll try this as soon as I can and provide an update.

    Thanks

    Cpandya
    Participant
    • 2 Topics
    • 11 Posts
    @cnpandya

    Hi @themosaurus,

    Thanks for quick reply. It works for me. really appreciable.

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    @cnpandya,

    You’re welcome. ?

    Best regards,

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Login after Activation’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.

Setup Your Cera or Gwangi powered Community Website and Turn it into an iOS and Android App

15% discount for Cera users

To unleash the full power of your Cera or Gwangi theme, we have partnered with the Zipline team. Your community website can now be fully setup and turned into your very own custom app for iOS and Android.

Whether you've newly acquired the theme or already got your site up and running, Zipline got you covered. And we got you an incredible discount.

Holiday, Weather & Festive effects
to pimp your WordPress Site