Login link
 
Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the gVectors community!

Merry Christmas and Happy Holidays! 🎄

Login link

4 Posts
2 Users
1 Reactions
5,367 Views
(@footbik)
Member Customer
Joined: 8 years ago
Posts: 28
Topic starter  

Hi

How can I change the login link and add the link registration?

1

Thanks



   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6581
 

Hi @footbik,

wpDiscuz uses wp_login_url() (/wp-includes/general-template.php) which uses a filter on its return:

return apply_filters('login_url', $login_url, $redirect);

you might be able to add a filter function to functions.php of your active theme, to influence the link; example:

add_filter( 'login_url', 'my_login_linkchanger', 11); 
function my_login_linkchanger( $link ){
return  wpforo_register_url();
}

More info:  http://codex.wordpress.org/Plugin_API/Filter_Reference/login_url



   
ReplyQuote
(@footbik)
Member Customer
Joined: 8 years ago
Posts: 28
Topic starter  

maybe I wrong asked

I want the link in the comments to lead to the page: https://www.footbik.by/login



   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6581
 

Hi @footbik

use this code, put it to functions.php of your active theme.

add_filter( 'login_url', 'my_login_linkchanger', 11); 
function my_login_linkchanger( $link ){
return  "https://www.footbik.by/login";
}

 

function


   
Daisy Peel reacted
ReplyQuote
Share:
Scroll to top