0

I am trying to change my word-press logo website .But I am not able to solve this .

<?php
add_filter( 'login_headerurl', 'custom_loginlogo_url' );
function custom_loginlogo_url($url) {
    $link = 'http://www.example.com/';
    return $link;
}
?>
0

1 Answer 1

0

Please follow this link same question here

Change logo url link

9
  • Vivek Tamrakar@@ you are very sure this is working code @ I used but not working so i just update , you have any other solution
    – sanjay
    Jun 20, 2017 at 7:19
  • @sanjay yes i'm sure it's working Jun 20, 2017 at 7:21
  • Vivek Tamrakar@@can you suggest me a right script on this answer , clearly
    – sanjay
    Jun 20, 2017 at 7:29
  • @sanjay first answer are correct Jun 20, 2017 at 7:30
  • ok let me know how can i put the my external link in this script . they are working for blog or other
    – sanjay
    Jun 20, 2017 at 7:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.