Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author gVectors Team

    (@gvectors-team)

    Hi VT18472,
    You can change it in core files, we’ll make it more dynamic on next version so it’ll reflect with wp_loginout() hooks.

    By now please find this script in /woodiscuz/comment-form/form.php :

    <p class="wpc-must-login"><?php echo $this->wpc_options_serialized->wpc_phrases['wpc_you_must_be_text']; ?> <a href="<?php echo wp_login_url(); ?>">.......

    And change the <?php echo wp_login_url(); ?> part to whatever you want.

    Related, but a little more specific: After logging in, redirect back to the original WC single product

    With the help of this StackExchange I’ve edited the wp_login_url() mentioned to:

    <?php echo wp_login_url( $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); ?>

    I’ve tested this and it worked. ??

    P.S: Awesome plugin by the way and I stumbled on it just at the right moment too. Thank you!

    Plugin Author gVectors Team

    (@gvectors-team)

    Hi dannyfoo,
    Thank you very much for sharing this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect User to Frontend Login’ is closed to new replies.