I am trying to change the login logo URL and hover title. I am using the code below but return bloginfo('url');
and return bloginfo('name');
aren’t outputting the desired href
and title
. I’m also using a child theme if that matters at all. What do I need to use instead of return bloginfo('url');
and return bloginfo('name');
?
/* == Change Logo URL ==============================*/
function my_url_login(){
return bloginfo('url');
}
add_filter('login_headerurl', 'my_url_login');
/* == Change Logo URL Hover Text ==============================*/
function my_url_login_hover(){
return bloginfo('name');
}
add_filter('login_headertitle', 'my_url_login_hover');