{"id":12046,"date":"2024-08-16T13:40:21","date_gmt":"2024-08-16T03:40:21","guid":{"rendered":"https:\/\/noorsplugin.com\/?p=12046"},"modified":"2025-10-27T17:15:19","modified_gmt":"2025-10-27T06:15:19","slug":"wordpress-login-form-custom-error","status":"publish","type":"post","link":"https:\/\/noorsplugin.com\/wordpress-login-form-custom-error\/","title":{"rendered":"WordPress Login Form Custom Error"},"content":{"rendered":"\n<p>Custom Error is an add-on for the <a href=\"https:\/\/noorsplugin.com\/wordpress-login-form-plugin\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Login Form<\/a> plugin that can be used to show custom error messages after a failed login.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">How It Works<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"WordPress Login Form Custom Error\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/9VxJLa0PVH0?rel=0\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>By default, a user is redirected to the WordPress admin login page when the login authentication fails. When this add-on is installed and the custom error functionality is enabled, the user remains on the login form page and a custom error message is shown above the login form.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1075\" height=\"483\" src=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-message.png\" alt=\"custom error message after a failed login attempt in WordPress\" class=\"wp-image-12047\" srcset=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-message.png 1075w, https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-message-300x135.png 300w, https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-message-1024x460.png 1024w, https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-message-768x345.png 768w\" sizes=\"auto, (max-width: 1075px) 100vw, 1075px\" \/><\/figure>\n\n\n\n<p>The error message can be customized in the add-on settings (Settings &gt; WP Login Form &gt; General &gt; Custom Error Message).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"883\" height=\"366\" src=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-message-settings.png\" alt=\"custom error message settings from the WP Login Form Custom Error add-on\" class=\"wp-image-12048\" srcset=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-message-settings.png 883w, https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-message-settings-300x124.png 300w, https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-message-settings-768x318.png 768w\" sizes=\"auto, (max-width: 883px) 100vw, 883px\" \/><\/figure>\n\n\n\n<p>If no custom error message is set, the default error message from WordPress is shown.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1073\" height=\"489\" src=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-default-message.png\" alt=\"default error message shown by WordPress after a failed login attempt\" class=\"wp-image-12049\" srcset=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-default-message.png 1073w, https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-default-message-300x137.png 300w, https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-default-message-1024x467.png 1024w, https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-default-message-768x350.png 768w\" sizes=\"auto, (max-width: 1073px) 100vw, 1073px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How to Enable Custom Error<\/h2>\n\n\n\n<p>To enable custom error functionality in a WP login form you need to set the &#8220;custom_error&#8221; parameter in the shortcode.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[wp_login_form custom_error=\"1\"]<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Get the Custom Error Add-on<\/h2>\n\n\n<div itemtype=\"https:\/\/schema.org\/Product\" itemscope><meta itemprop=\"name\" content=\"WP Login Form Custom Error\" \/><link itemprop=\"image\" href=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-addon.png\" \/><div itemprop=\"offers\" itemtype=\"https:\/\/schema.org\/Offer\" itemscope><meta itemprop=\"price\" content=\"49.99\" \/><meta itemprop=\"priceCurrency\" content=\"USD\" \/><\/div><\/div>\n\n\n<div class=\"eStore-product eStore-fancy-wrapper\"><div class=\"eStore-thumbnail\"><a href=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-addon.png\" rel=\"lightbox[WP Login Form Custom Error]\" title=\"WP Login Form Custom Error\"><img decoding=\"async\" class=\"thumb-image\" src=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2024\/08\/wp-login-form-custom-error-addon.png\" alt=\"WP Login Form Custom Error\" \/><\/a><\/div><div class=\"eStore-product-description\"><div class=\"eStore-product-name\">WP Login Form Custom Error<\/div>Keep the user on the login form page and show custom error messages after a failed login.\r\n<br><br><strong>License:<\/strong> Unlimited Websites\r\n<br><br><strong>Note:<\/strong><br>\r\n* Do not purchase before setting up the core plugin first. The add-on is not at fault if the core plugin does not work on your website.<br>\r\n* Do not purchase if you are not sure about a feature, <a href=\"https:\/\/noorsplugin.com\/contact\/\" target=\"_blank\" rel=\"noreferrer noopener\">contact us<\/a> instead.<br>\r\n* Do not purchase to ask for more features or make the product work in a certain way.<br><br><div class=\"eStore_price\"><span class=\"eStore_price_label\"><strong>Price: <\/strong><\/span><span class=\"eStore_price_value\">$39.99<\/span><\/div><div class=\"eStore_button_wrapper eStore_pp_buy_now_wrapper\"><form action=\"https:\/\/www.paypal.com\/cgi-bin\/webscr\" method=\"post\" class=\"eStore-pp-buy-now-form eStore-pp-buy-now-form-34\" onsubmit=\"return ReadForm1(this, 2);\" ><div class=\"eStore_variation_top\"><\/div><input type=\"hidden\" name=\"product_name_tmp1\" value=\"WP Login Form Custom Error\" \/><input type=\"hidden\" name=\"price_tmp1\" value=\"39.99\" \/><input type=\"hidden\" name=\"cmd\" value=\"_xclick\" \/><input type=\"hidden\" name=\"charset\" value=\"utf-8\" \/><input type=\"hidden\" name=\"business\" value=\"wp.plugin.help@gmail.com\" \/><input type=\"hidden\" name=\"item_name\" value=\"WP Login Form Custom Error\" \/><input type=\"hidden\" name=\"amount\" value=\"39.99\" \/><input type=\"hidden\" name=\"currency_code\" value=\"USD\" \/><input type=\"hidden\" name=\"item_number\" value=\"34\" \/><input type=\"hidden\" name=\"no_shipping\" value=\"1\" \/><input type=\"hidden\" name=\"notify_url\" value=\"https:\/\/noorsplugin.com\/?estore_pp_ipn=process\" \/><input type=\"hidden\" name=\"return\" value=\"https:\/\/noorsplugin.com\/order-received\/\" \/><input type=\"hidden\" name=\"bn\" value=\"TipsandTricks_SP\" \/><input type=\"hidden\" name=\"cbt\" value=\"\" \/><input type=\"hidden\" name=\"image_url\" value=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2022\/01\/noorsplugin-paypal-payment-page-logo.png\" \/><input type=\"hidden\" name=\"custom\" value=\"ip=162.0.217.198\" id=\"eStore_custom_values\" \/><div class=\"eStore-t-and-c-section\"><input type=\"checkbox\" name=\"t-and-c\" class=\"t-and-c\" value=\"\" \/><label for=\"t-and-c\" class=\"eStore-t-and-c-message-label\"> I agree to the <span class=\"eStore-t-and-c-url-section\"><a href=\"https:\/\/noorsplugin.com\/terms-and-conditions\/\" target=\"_blank\"><u>Terms & Conditions<\/u><\/a><\/span><\/label><br \/><label class=\"t_and_c_error\" for=\"t-and-c\" id=\"t_and_c_error\">You must agree to the Terms & Conditions!<br \/><\/label><\/div><input type=\"submit\" class=\"eStore_buy_now_button\" value=\"Buy Now\" \/><\/form><\/div><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Get All WP Login Form Add-ons<\/h2>\n\n\n<div class=\"eStore-product eStore-fancy-wrapper\"><div class=\"eStore-thumbnail\"><a href=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2025\/10\/wp-login-form-addons.png\" rel=\"lightbox[WP Login Form Add-on Bundle]\" title=\"WP Login Form Add-on Bundle\"><img decoding=\"async\" class=\"thumb-image\" src=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2025\/10\/wp-login-form-addons.png\" alt=\"WP Login Form Add-on Bundle\" \/><\/a><\/div><div class=\"eStore-product-description\"><div class=\"eStore-product-name\">WP Login Form Add-on Bundle<\/div>Access to all WP Login Form plugin add-ons.\r\n<br><br>\r\n* <a href=\"https:\/\/noorsplugin.com\/wordpress-login-form-plugin\/\" target=\"_blank\" rel=\"noreferrer noopener\">Force Redirect<\/a><br>\r\n* <a href=\"https:\/\/noorsplugin.com\/wordpress-login-form-custom-error\/\" target=\"_blank\" rel=\"noreferrer noopener\">Custom Error<\/a>\r\n<br>\r\n<br><br><strong>License:<\/strong> Unlimited Websites\r\n<br><br><strong>Note:<\/strong><br>\r\n* Do not purchase before setting up the core plugin first. The add-on is not at fault if the core plugin does not work on your website.<br>\r\n* Do not purchase if you are not sure about a feature, <a href=\"https:\/\/noorsplugin.com\/contact\/\" target=\"_blank\" rel=\"noreferrer noopener\">contact us<\/a> instead.<br>\r\n* Do not purchase to ask for more features or make the product work in a certain way.<br><br><div class=\"eStore_price\"><span class=\"eStore_price_label\"><strong>Price: <\/strong><\/span><span class=\"eStore_price_value\">$49.99<\/span><\/div><div class=\"eStore_button_wrapper eStore_pp_buy_now_wrapper\"><form action=\"https:\/\/www.paypal.com\/cgi-bin\/webscr\" method=\"post\" class=\"eStore-pp-buy-now-form eStore-pp-buy-now-form-46\" onsubmit=\"return ReadForm1(this, 2);\" ><div class=\"eStore_variation_top\"><\/div><input type=\"hidden\" name=\"product_name_tmp1\" value=\"WP Login Form Add-on Bundle\" \/><input type=\"hidden\" name=\"price_tmp1\" value=\"49.99\" \/><input type=\"hidden\" name=\"cmd\" value=\"_xclick\" \/><input type=\"hidden\" name=\"charset\" value=\"utf-8\" \/><input type=\"hidden\" name=\"business\" value=\"wp.plugin.help@gmail.com\" \/><input type=\"hidden\" name=\"item_name\" value=\"WP Login Form Add-on Bundle\" \/><input type=\"hidden\" name=\"amount\" value=\"49.99\" \/><input type=\"hidden\" name=\"currency_code\" value=\"USD\" \/><input type=\"hidden\" name=\"item_number\" value=\"46\" \/><input type=\"hidden\" name=\"no_shipping\" value=\"1\" \/><input type=\"hidden\" name=\"notify_url\" value=\"https:\/\/noorsplugin.com\/?estore_pp_ipn=process\" \/><input type=\"hidden\" name=\"return\" value=\"https:\/\/noorsplugin.com\/order-received\/\" \/><input type=\"hidden\" name=\"bn\" value=\"TipsandTricks_SP\" \/><input type=\"hidden\" name=\"cbt\" value=\"\" \/><input type=\"hidden\" name=\"image_url\" value=\"https:\/\/noorsplugin.com\/wp-content\/uploads\/2022\/01\/noorsplugin-paypal-payment-page-logo.png\" \/><input type=\"hidden\" name=\"custom\" value=\"ip=162.0.217.198\" id=\"eStore_custom_values\" \/><div class=\"eStore-t-and-c-section\"><input type=\"checkbox\" name=\"t-and-c\" class=\"t-and-c\" value=\"\" \/><label for=\"t-and-c\" class=\"eStore-t-and-c-message-label\"> I agree to the <span class=\"eStore-t-and-c-url-section\"><a href=\"https:\/\/noorsplugin.com\/terms-and-conditions\/\" target=\"_blank\"><u>Terms & Conditions<\/u><\/a><\/span><\/label><br \/><label class=\"t_and_c_error\" for=\"t-and-c\" id=\"t_and_c_error\">You must agree to the Terms & Conditions!<br \/><\/label><\/div><input type=\"submit\" class=\"eStore_buy_now_button\" value=\"Buy Now\" \/><\/form><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Custom Error is an add-on for the WP Login Form plugin that can be used to show custom error messages after a failed login.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"class_list":["post-12046","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/noorsplugin.com\/wp-json\/wp\/v2\/posts\/12046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/noorsplugin.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/noorsplugin.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/noorsplugin.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/noorsplugin.com\/wp-json\/wp\/v2\/comments?post=12046"}],"version-history":[{"count":13,"href":"https:\/\/noorsplugin.com\/wp-json\/wp\/v2\/posts\/12046\/revisions"}],"predecessor-version":[{"id":13095,"href":"https:\/\/noorsplugin.com\/wp-json\/wp\/v2\/posts\/12046\/revisions\/13095"}],"wp:attachment":[{"href":"https:\/\/noorsplugin.com\/wp-json\/wp\/v2\/media?parent=12046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/noorsplugin.com\/wp-json\/wp\/v2\/categories?post=12046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/noorsplugin.com\/wp-json\/wp\/v2\/tags?post=12046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}