How to link that "logged in" in "you must be logged in to post a comment" for a post on WordPress to custom login page. So that when the user clicks on that "logged in" gets redirected to the custom login page not to the wp-login.php. Please help.
You could change the whole text by adding first parameter to your
Please change the 'YOUR_CUSTOM_LOGIN_PAGE_URL' accordingly.