{"id":4708,"date":"2018-12-08T12:50:32","date_gmt":"2018-12-08T07:20:32","guid":{"rendered":"https:\/\/phpyouth.com\/blog\/?p=4708"},"modified":"2025-10-10T18:27:58","modified_gmt":"2025-10-10T12:57:58","slug":"customize-logo-on-wordpress-login-register-page","status":"publish","type":"post","link":"https:\/\/phpyouth.com\/blog\/customize-logo-on-wordpress-login-register-page\/","title":{"rendered":"Customize Logo on WordPress Login\/Register Page"},"content":{"rendered":"<p>Hello Friends!<br \/>\nToday, we will show <strong>how to customize the Logo on the WordPress Login and sign-up page<\/strong>. We often logged into WordPress websites, but never thought to apply our branding to the login page. It is straightforward code, just copy it and implement it on your website. Let&#8217;s see how we can change the logo in a minute.<\/p>\n<h2>Two Ways to Change<\/h2>\n<p>Below are:<\/p>\n<ul>\n<li><strong>PHP Function<\/strong><\/li>\n<li><strong>WordPress Plugins<\/strong><\/li>\n<\/ul>\n<h2>PHP Function<\/h2>\n<p>To begin with, you can use a PHP function to easily change the logo on the WordPress login page. Next, simply copy the code below and paste it into your website\u2019s activated child theme <em>function.php<\/em> file. You can find this file by following the path: <strong><em>wp-content &gt;&gt; themes &gt;&gt; child-theme (activated) &gt;&gt; functions.php<\/em><\/strong>.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\"> \nfunction py_login_logo() { \n&amp;amp;amp;lt;img src=&quot;data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7&quot; data-wp-preserve=&quot;%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%0Abody.login%20div%23login%20h1%20a%20%7B%0Abackground-image%3A%20url(http%3A%2F%2Flocalhost%2Fwordpress%2Fone.jpeg)%3B%20%20%2F%2FAdd%20your%20own%20logo%20image%20in%20this%20url%20%0Apadding-bottom%3A%2030px%3B%20%0A%7D%20%0A%3C%2Fstyle%3E&quot; data-mce-resize=&quot;false&quot; data-mce-placeholder=&quot;1&quot; class=&quot;mce-object mce-object-style&quot; width=&quot;20&quot; height=&quot;20&quot; alt=&quot;&amp;amp;amp;amp;amp;gt;&quot;&amp;amp;amp;gt; ?php \n} add_action( &#039;login_enqueue_scripts&#039;, &#039;py_login_logo&#039; );\n<\/pre>\n<p>Please ensure that you replace the logo URL field(http:\/\/localhost\/wordpress\/one.jpeg) with your website logo with the proper path.<\/p>\n<figure id=\"attachment_4722\" aria-describedby=\"caption-attachment-4722\" style=\"width: 240px\" class=\"wp-caption alignleft\"><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-4722 \" src=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/1.png\" alt=\"wordpress logo\" width=\"240\" height=\"303\" title=\"\" srcset=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/1.png 380w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/1-238x300.png 238w\" sizes=\"(max-width: 240px) 100vw, 240px\" \/><figcaption id=\"caption-attachment-4722\" class=\"wp-caption-text\">BEFORE<\/figcaption><\/figure>\n<figure id=\"attachment_4721\" aria-describedby=\"caption-attachment-4721\" style=\"width: 240px\" class=\"wp-caption alignright\"><img decoding=\"async\" class=\"wp-image-4721 \" src=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/2.png\" alt=\"website branding\" width=\"240\" height=\"303\" title=\"\" srcset=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/2.png 380w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/2-238x300.png 238w\" sizes=\"(max-width: 240px) 100vw, 240px\" \/><figcaption id=\"caption-attachment-4721\" class=\"wp-caption-text\">AFTER<\/figcaption><\/figure>\n<div style=\"clear: both; height: 25px;\"><\/div>\n<h2>WordPress Plugins<\/h2>\n<p>Using WordPress plugins, we can easily change the WordPress Logo on the Login page. You guys have to install and activate any of the following plugins and follow their instructions. We have searched for the best and updated plugins for you.<\/p>\n<div class=\"ast-oembed-container \" style=\"height: 100%;\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"xHTRTROmDy\"><p><a href=\"https:\/\/wordpress.org\/plugins\/login-logo\/\" target=\"_blank\" rel=\"noopener\">Login Logo<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Login Logo&#8221; &#8212; Plugin Directory\" src=\"https:\/\/wordpress.org\/plugins\/login-logo\/embed\/#?secret=vUEbff7Zqn#?secret=xHTRTROmDy\" data-secret=\"xHTRTROmDy\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/div>\n<div class=\"ast-oembed-container \" style=\"height: 100%;\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"20sFN8wQCU\"><p><a href=\"https:\/\/wordpress.org\/plugins\/my-wp-login-logo\/\" target=\"_blank\" rel=\"noopener\">My WordPress Login Logo<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;My WordPress Login Logo&#8221; &#8212; Plugin Directory\" src=\"https:\/\/wordpress.org\/plugins\/my-wp-login-logo\/embed\/#?secret=DUjcfYKvCS#?secret=20sFN8wQCU\" data-secret=\"20sFN8wQCU\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/div>\n<p><a href=\"https:\/\/www.hostg.xyz\/aff_c?offer_id=6&amp;aff_id=115521&amp;url_id=35&amp;file_id=1399\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/media.go2speed.org\/brand\/files\/hostinger\/6\/EN-970x250.jpg\" width=\"970\" height=\"250\" border=\"0\" alt=\"\" title=\"\"><\/a><img loading=\"lazy\" decoding=\"async\" style=\"position: absolute; visibility: hidden;\" src=\"https:\/\/www.hostg.xyz\/aff_i?offer_id=6&amp;file_id=1399&amp;aff_id=115521&amp;url_id=35\" width=\"0\" height=\"0\" border=\"0\" alt=\"\" title=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello Friends! Today, we will show how to customize the Logo on the WordPress Login and sign-up page. We often logged into WordPress websites, but never thought to apply our branding to the login page. It is straightforward code, just copy it and implement it on your website. Let&#8217;s see how we can change the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4732,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Change Logo on WordPress Login\/Register Page","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[2,5,4],"tags":[136,134,135],"class_list":["post-4708","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css","category-php","category-wordpress","tag-customize-wp-admin-logo","tag-wp-admin","tag-wp-login-php-logo"],"acf":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/Customize-WP-logo.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8zepR-1dW","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":5639,"url":"https:\/\/phpyouth.com\/blog\/create-wordpress-admin-user-through-ftp\/","url_meta":{"origin":4708,"position":0},"title":"Create WordPress Admin User Through FTP","author":"RK Jajoria","date":"July 12, 2022","format":false,"excerpt":"Hello friends, Today in this article, we will learn how to create WordPress admin users through FTP. FTP will help us to create a WordPress Admin User when we don't have any other access. You can explore our FTP tutorial if FTP(File Transfer Protocol) is a new thing to you.\u2026","rel":"","context":"In &quot;Wordpress&quot;","block_context":{"text":"Wordpress","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"Create WordPress Admin User Through FTP","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/01\/Create-WordPress-Admin-User-Through-FTP.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/01\/Create-WordPress-Admin-User-Through-FTP.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/01\/Create-WordPress-Admin-User-Through-FTP.webp?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/01\/Create-WordPress-Admin-User-Through-FTP.webp?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4508,"url":"https:\/\/phpyouth.com\/blog\/change-site-language-wordpress\/","url_meta":{"origin":4708,"position":1},"title":"How to change Site language in WordPress","author":"RK Jajoria","date":"September 19, 2017","format":false,"excerpt":"Hello Friends, today we will learn about\u00a0How to change Site language in WordPress. Let me first tell you guys why we wrote this article today. A few days ago, one of my subscribers asked me that he is having a problem in the approval of Google Adsense on his website.\u2026","rel":"","context":"In &quot;Wordpress&quot;","block_context":{"text":"Wordpress","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/09\/1-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/09\/1-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/09\/1-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":331,"url":"https:\/\/phpyouth.com\/blog\/wordpress-tutorial-how-to-create-a-wordpress-themes\/","url_meta":{"origin":4708,"position":2},"title":"Create A WordPress Themes","author":"RK Jajoria","date":"May 19, 2014","format":false,"excerpt":"WordPress themes are the most used and popular blogging platform on the web. Its flexibility, usability, and customizability are why people regard WordPress highly. Another reason is WordPress's huge array of themes; you can create almost anything, from online magazines to advanced e-commerce businesses. WordPress themes. You can either get\u2026","rel":"","context":"In &quot;Wordpress&quot;","block_context":{"text":"Wordpress","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2014\/05\/How-to-Create-a-Custom-WordPress-Theme-e1475050552348.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2014\/05\/How-to-Create-a-Custom-WordPress-Theme-e1475050552348.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2014\/05\/How-to-Create-a-Custom-WordPress-Theme-e1475050552348.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2014\/05\/How-to-Create-a-Custom-WordPress-Theme-e1475050552348.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":13470,"url":"https:\/\/phpyouth.com\/blog\/how-to-secure-wordpress-login-page\/","url_meta":{"origin":4708,"position":3},"title":"How to Secure WordPress Login Page &amp; Admin Area (2026 Guide)","author":"RK Jajoria","date":"August 6, 2026","format":false,"excerpt":"This guide shows you how to secure WordPress login page access and cut that automated bot traffic to zero. If you manage a WordPress site, check your access logs right now. You will likely see hundreds, if not thousands, of automated bots pinging your wp-login.php file every single hour. The\u2026","rel":"","context":"In &quot;Security&quot;","block_context":{"text":"Security","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/security\/"},"img":{"alt_text":"how to secure wordpress login page","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Secure-the-WordPress-Login-Page.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Secure-the-WordPress-Login-Page.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Secure-the-WordPress-Login-Page.webp?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Secure-the-WordPress-Login-Page.webp?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Secure-the-WordPress-Login-Page.webp?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":4734,"url":"https:\/\/phpyouth.com\/blog\/how-to-enable-php-modules-in-whm\/","url_meta":{"origin":4708,"position":4},"title":"How to Enable PHP Modules in WHM","author":"RK Jajoria","date":"May 2, 2018","format":false,"excerpt":"Hello friends, today we will learn how to enable PHP modules in WHM(Web Host Manager). Many WordPress beginners face this issue while importing demo content on a paid WordPress theme. Sometimes, required PHP modules are not installed or activated by default in cPanel. In this article, we will focus on\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/phpyouth.com\/blog\/category\/tutorial\/php\/"},"img":{"alt_text":"How to Enable PHP Modules in WHM","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4447,"url":"https:\/\/phpyouth.com\/blog\/add-multiple-css-classes-in-wordpress\/","url_meta":{"origin":4708,"position":5},"title":"How to Add Multiple CSS Classes in WordPress","author":"RK Jajoria","date":"March 27, 2019","format":"image","excerpt":"CSS plays an important role in UI\/UX Today, we will learn how to add multiple CSS classes using functions. This helps you design each WordPress post differently using specific classes. STEP I:- First, define the classes as an array in the functions.php file inside your\u00a0child-theme folder. It's very simple. For\u2026","rel":"","context":"In &quot;Wordpress&quot;","block_context":{"text":"Wordpress","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/08\/Add-multiple-css.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/08\/Add-multiple-css.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/08\/Add-multiple-css.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/4708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/comments?post=4708"}],"version-history":[{"count":0,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/4708\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/media\/4732"}],"wp:attachment":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/media?parent=4708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/categories?post=4708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/tags?post=4708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}