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

In regards to the COVID-19 situation

Your support team is currently doing their best to offer the best support possible despite the current COVID-19 situation. However during these exceptional circumstances, please note that you should expect a response time of 2-3 business days, until further notice.Rest assured that we will still do our best to handle your requests as soon as possible! Everyone stay safe and healthy! 😷

regoster link redirecting to the wrong site

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • farooq
    Participant
    • 3 Topics
    • 9 Posts

    Hi

    I have installed the gwangi site and on the register link (right side) it take me to the gwangi demo link (https://basic.gwangi-theme.com/register/)

    The login page works fine. I have imported the demo content. How can I make the link to go to https://prembandhan.info/register/

    My site is https://prembandhan.info

    I checked the menu but there is no option to edit the link.

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1673 Posts

    Hi @farooq,

    Thank you for bringing this to our attention. We will investigate further to find from where this issue is coming from.

    We will be back to you ASAP.

    Thank you for your patience.

    Regards,

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1673 Posts

    Hi @farooq,

    We’re sorry for the late reply.

    We’ve visited your website and everything seems to work fine now. You’ve probably changed your menu settings already.

    In any case, if you wish to know more about the user menus, please read the following post:

    Creating the Logged In Users and Logged Out Users Menus

    As we can see on your website, it seems that you’re already using Login With Ajax (https://wordpress.org/plugins/login-with-ajax/). If you wish to go further and redirect all calls to the wp-login.php page to your Register/login page, please 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,

    farooq
    Participant
    • 3 Topics
    • 9 Posts

    Thanks where do I add the function you have shown below?

    Also I want to charge membership to users? is there a subscription plugin for free other than woocommerce subscriptions which is for $199 which I can use to integrate with payment gateway like 2checkout?

    Regards,
    Farooq

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

You must be logged in to reply to this topic.

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 ❤️