Title: Suggestion for Login Message
Last modified: February 10, 2020

---

# Suggestion for Login Message

 *  [Ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * (@ov3rfly)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/suggestion-for-login-message/)
 * For Login Message feature:
 * Would suggest to add an extra check to `login_message` filter and only output
   the message during normal login dialog, not when requesting a password change
   or when confirming a new password or when logging out.
 * Something similar to this:
 *     ```
       if ( empty( $_GET['action'] ) && empty( $_GET['checkemail'] ) && empty( $_GET['loggedout'] ) ) {
           $message .= ...
       ```
   
 * Also would suggest to add an additional classname for custom styling when required,
   similar to this:
 *     ```
           $message .= '<p class="message rda-login-message">' ...
       ```
   
 * Thanks for great plugin.

Viewing 1 replies (of 1 total)

 *  [Drew Jaynes](https://wordpress.org/support/users/drewapicture/)
 * (@drewapicture)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/suggestion-for-login-message/#post-12427337)
 * Hi ov3rfly,
 * Good catch! I’ll definitely add the non-login-page checks in a future release.
   Thanks for the suggestion. I’ll also consider the custom class 😉

Viewing 1 replies (of 1 total)

The topic ‘Suggestion for Login Message’ is closed to new replies.

 * ![](https://ps.w.org/remove-dashboard-access-for-non-admins/assets/icon-256x256.
   png?rev=2963265)
 * [Remove Dashboard Access](https://wordpress.org/plugins/remove-dashboard-access-for-non-admins/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/remove-dashboard-access-for-non-admins/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/remove-dashboard-access-for-non-admins/)
 * [Active Topics](https://wordpress.org/support/plugin/remove-dashboard-access-for-non-admins/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/remove-dashboard-access-for-non-admins/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/remove-dashboard-access-for-non-admins/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Drew Jaynes](https://wordpress.org/support/users/drewapicture/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/suggestion-for-login-message/#post-12427337)
 * Status: not a support question