The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Custom registration...
 
Share:
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] Custom registration option

4 Posts
2 Users
0 Reactions
2,815 Views
Posts: 2
Topic starter
(@byjillee)
New Member
Joined: 5 years ago

Hi, I'd like to require readers register as a free member on my site before they can leave a comment, do you have an option that would allow me to add a custom registration link that would take them to my account registration page? 

3 Replies
Asti
Posts: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

Hi @byjillee,

Please read this FAQ: https://wpdiscuz.com/community/f-a-q/change-login-url/

Reply
2 Replies
(@byjillee)
Joined: 5 years ago

New Member
Posts: 2

@asti

Thanks for your response, but I'm looking for a way to customize the Register link, I've already updated the Login link.

Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8075

@byjillee,

You can use the hook provided below:

add_filter("wpdiscuz_login_link", function ($login) {
return $login . " or <a href='your_custom_registration_link'> register</a>" ;
});

Put this hook code in the WordPress active theme functions.php file (more information how to add insert custom code):

Don't forget to change the red marked value, before using.

In this case you'll see the "login or register" phrase (with appropriate links) above the comment form.

Reply
Share: