pridanie podpory loga na stránku wordpress
add_theme_support( 'custom-logo' );
pridanie podpory loga na stránku wordpress
if ( function_exists( 'the_custom_logo' ) ) {
the_custom_logo();
}
zmena loga prihlásenia wordpress bez doplnku
function wpb_login_logo() { ?>
<style type="text/css">
#login h1 a, .login h1 a {
background-image: url(http://path/to/your/custom-logo.png);
height:100px;
width:300px;
background-size: 300px 100px;
background-repeat: no-repeat;
padding-bottom: 10px;
}
</style>
<?php }
add_action( 'login_enqueue_scripts', 'wpb_login_logo' );