Different Logos On Different Pages
-
hi,
was just told to try posting here. i’m trying to make this wordpress theme do an if/then/else type thing for the logo. i’m not a coder or anything but i can follow instructions. so far not getting it though. the original code looks like this:
<div id="logo"> <a href="<?php bloginfo('url'); ?>"><img src="<?php echo of_get_option('logo') ?>" alt="" /></a> </div>i’d like to make it so that if the page being displayed is the blog (page name is ‘lifestyle-blog’) it will display a different logo (lets say logo2.png) and if its any other page it will just do as the code there says to do (taking the logo from the wordpress logo option and just using that.
can anyone help me out?
thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Different Logos On Different Pages’ is closed to new replies.