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
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';
}
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
I added directly to the includes functions file and has worked. Unsure why the customizer did not work.
Tudor
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.
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';
}