Hi there,
How do I add a message to the /wp-login.php page?
Just plain text.
This reply has been marked as private.
Hi Ava,
I'd like to add content on this login page in the area within the red box:
Hi
Please try adding this code in wplms-customizer.php in wplms customizer plugin :
add_filter('login_message',function ($message){
$my_message = 'add your message here ';
return $message.$my_message;
});
Hi Ava,
Thanks for that! Do you know how to style it now?
I've added the following to the custom CSS but it isn't working:
.login * {
margin: 0;
color: white !important;
padding: 0;
text-align: center;
Please try adding this code in wplms-customizer.php in wplms customizer plugin :
add_filter('login_message',function ($message){
$my_message = '<p id=custom_login_message>your message</p>';
return $message.$my_message;
});
echo '<style>
#custom_login_message{
margin: 0;
color: white !important;
padding: 0;
text-align: center;
}
</style>';
In Here is going to your custom css :
http://prntscr.com/me7w2g