/ Published in: PHP
                    
                                        
Add the following lines of code to your theme's function.php file.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
add_action('admin_head', 'my_custom_logo');
function my_custom_logo() {
echo '
<style type="text/css">
#header-logo { background-image: url('.get_bloginfo('template_directory').'/images/your-logo.jpg) !important; }
</style>
';
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                