Change site logo url/link

Home Forums Legacy Support Support queries How-to & Troubleshooting Change site logo url/link

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13764
    helmibhs
    Spectator
    Hi There, I did change Site Address (URL) from "http://mysite.com/wordpress" to "http://mysite.com" and Wordpress address url still using "http://mysite.com/wordpress". I follow the instruction from "https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory". I found a problem with logo site url. When i hover to the logo, the url logo still using "http://mysite.com/wordpress" and everytime i click the logo, i could not go back to homepage. I need your advice to solve this problem. Thank You. Best regards, Helmi
    #13948
    Anshuman Sahu
    Keymaster
    Well on the url we use the home_url if you installation is multisite and use the site_url if not . You can also customize the link as adding the code in your wplms-customizer.php in wplms customizer : add_filter('wplms_site_link','custom_wplms_site_link'); function custom_wplms_site_link($link){ return 'http://google.com'; }
    #14183
    tudorbob
    Participant
    Hi I have the same problem - I uploaded this in to the import field in the customizer of WPLMS and it states it was uploaded successfully but no change has been made. Can you let me know what I have done wrong? Thanks Tudor
    #14184
    tudorbob
    Participant
    I added directly to the includes functions file and has worked. Unsure why the customizer did not work. Tudor
    #14277
    helmibhs
    Spectator
    Hi Alex, Where is the location of wplms-customizer.php file? Recently, i follow Tudor's way. I just add the script in functions.php and it works.
    #14336
    Anshuman Sahu
    Keymaster
    If you are using a child theme then it would be safe to add the code in your child theme's functions.php file  : But if you're not then please add the code your wplms-customizer.php file at the end before "?>" : it is in your wp-content/plugins/wplms-customizer/wplms-customizer.php  . add_filter('wplms_site_link','custom_wplms_site_link',99);
    function custom_wplms_site_link($link){
    return 'http://google.com';
    }
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Change site logo url/link’ is closed to new replies.