AI Verified

Name

Custom Login Logo

About

This snippet allows you to replace the default WordPress login logo with your own custom logo.

Language

PHP

Rating

Voted: 0 by 0 user(s)

How to Setup Snippet

Replace the '/images/logo.png' with the path to your custom logo image file in your theme directory.

Codevault

tunity

Scroll down to see more snippets from this codevault.

Wordpress Compatability

The author has indicated that this snippet is compatable up to wordpress version: 6.1

Our AI bot has checked this snippet is compatable up to wordpress version: 6.1

Code Snippet Plugin Sync

Free & Pro

Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.

Pro Only (Coming Soon)

You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.

Website/ Profile URL:

tunity.be

Snippet Source:

https://tunity.be/

History

Last modified:

26/03/2023

Important Note

This snippet has the following status:

AI Verified

This snippet has been tested by our AI bot, see any comments below.

AI Bot Comments:

Found 0 vulnerabilities

Custom Login Logo

 
                    
1function custom_login_logo() {
2 echo '<style type="text/css"> #login h1 a { background-image: url(' . get_bloginfo('template_directory') . '/images/logo.png) !important; background-size: contain !important; width: 100% !important; } </style>';
3}
4add_action('login_head', 'custom_login_logo');

0

Related Snippets

Please see some snippets below related to this snippet..

Styling

Public

1

Divi Hamburger Menu Everywhere

Added: 1 year ago

Last Updated: 10 months ago

Make Divi Hamburger menu the default and add the word Menu to it Note: This works only with the Divi theme

Styling

AI Verified

0

Add your own CSS to the WooCommerce emails

Added: 1 year ago

Last Updated: 1 year ago

The default WooCommerce emails may look a bit dull. You can add your own styles via the following WooCommerce snippet:

Styling

Unverified

0

.gen_intros01

Added: 5 months ago

Last Updated: 5 months ago

First, under Advanced, add a CSS class name. Give your Elementor element (or section, column or container) the class name ‘gen_intros01’, ‘gen_intros02', or ‘gen_intros03’, depending on which snippet...

Other Snippets in this Codevault

These are some popular snippets from this users codevault..

Performance

AI Verified

1

Enable SVG Uploads

Added: 1 year ago

Last Updated: 6 months ago

This snippet enables the ability to upload SVG files to the WordPress media library.

WordPress Admin

AI Verified

0

Remove unwanted dashboard widgets

Added: 1 year ago

Last Updated: 1 year ago

This snippet removes unnecessary widgets from the WordPress dashboard, keeping it clean and uncluttered.

Styling

AI Verified

0

Custom Login Logo

Added: 1 year ago

Last Updated: 1 year ago

This snippet allows you to replace the default WordPress login logo with your own custom logo.