Hi,
I want to give a title and alt description to the logo image, but it doesn’t show in the page source code, how should I make it?
Enffie
Hey Enffie!
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_logo_subtext', 'kriesi_logo_addition');
function kriesi_logo_addition($sub) {
$sub .= "Company Name";
return $sub;
}
You can use HTML instead of “Company name” but please make sure to use single quotes in your code.
Cheers!
Yigit
Hi Yigit,
Actually I am not very good at writing HTML code, could you please see is it ok like below
Enffie
Hi,
I have put this code to the function.php, is it ok?
Hi,
I want this code works in the home page only, how can I disable this code in others pages?
Thanks
Enffie