Answers for "wordpress logo"

PHP
2

adding logo support to wordpress site

if ( function_exists( 'the_custom_logo' ) ) {
 the_custom_logo();
}
Posted by: Guest on September-22-2020
2

adding logo support to wordpress site

add_theme_support( 'custom-logo' );
Posted by: Guest on September-22-2020
1

wordpress logo

/*LOGIN CODE*/
function add_login_logo() { ?>
       <style type="text/css">
      #login-designer-logo, body.login #login h1 a {
    background-image: url(<?php echo get_home_url()?>/wp-content/uploads/2021/07/Logo-Water-Tree.png) !important;
}
   </style>
<?php }
add_action( 'login_enqueue_scripts', 'add_login_logo' );
Posted by: Guest on August-03-2021
0

how to add site logo in wordpress

function themename_custom_logo_setup() {
 $defaults = array(
 'height'      => 100,
 'width'       => 400,
 'flex-height' => true,
 'flex-width'  => true,
 'header-text' => array( 'site-title', 'site-description' ),
 );
 add_theme_support( 'custom-logo', $defaults );
}
add_action( 'after_setup_theme', 'themename_custom_logo_setup' );
Posted by: Guest on May-27-2020

Code answers related to "wordpress logo"

Browse Popular Code Answers by Language