Support » Fixing WordPress » if(is_page( )) not working

  • I’m trying to swap out some logos and the function if(is_page( )) isn’t working for me. I’m trying to add in this logo to the top of page 49 but I can’t seem to get it working. If I take it away and just leave the echo ‘…’ code it works fine but applies it to every page, so that means there’s something wrong with the if(is_page ()) code. I’d greatly appreciate any help you can give.

            echo '<div class="header-logo-image"><a rel="home" title="Wisechoice Financial Services" href=""><img alt="Wisechoice Financial Services src=""></a></div>';
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘if(is_page( )) not working’ is closed to new replies.