Support » Plugin: Shortcode Factory » change login link url

  • Resolved hyaeyoung



    I’m using a shortcode – [scf_login_link]
    It’s going to the default woocommerce login page, but I want to link it to specific login page of my own. I tried to change the login url from general-template.php but it affects to all login links. How can I change the link only for this shortcode?
    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Plugin Author WPMadeasy


    The [scf-login-link] short code only provides default login URL of the WordPress.

    However, for a custom solution, you ‘ll need to go through a custom approach. In this case, you ‘ll not use this short code, but will create a user form on a page and ‘ll treat it as your login page. Then after submitting the form, you ‘ll have to hookup with wp_authenticate ( to perform authentication. You ‘ll also need to handle the failure cases, and then finally you can use wp_safe_reidrect hook to perform redirections accordingly.

    I hope you can find a solution around these with a little effort. Or if you are into the PHP coding, you can easily build one for you too 😉

Viewing 1 replies (of 1 total)
  • The topic ‘change login link url’ is closed to new replies.