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.

regoster link redirecting to the wrong site

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

    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
    • 1675 Posts
    @themosaurus

    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
    • 1675 Posts
    @themosaurus

    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
    @farooq

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

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