Hello I would like to change my logo image only on my home page, so it will be clickable like the other pages. how can i do that?
Thanks.
Hi Oran!
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_logo','av_change_logo');
function av_change_logo($logo)
{
if(is_page(9) )
{
$logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
}
return $logo;
}
You just need to change the page ID, which is 9 in the example. You can right click on Chrome or Firefox to inspect elements to find page ID’s http://i.imgur.com/HyPTCRg.jpg
Regards,
Yigit