I like to show different logo on two different page but keep the original logo on front page and the rest of the site. So I try with wordpress conditional tag but It doesn't work. Someone can help me?
Thank you.
<?php if ( ! is_front_page() ) {?>
<img class="logo-top" src="image1" alt="image1">
<?php } ?>
<?php elseif ( ! is_page(157) ) {?>
<img class="logo-top" src="image2" alt="image2">
<?php } ?>
<?php elseif ( ! is_page(157) ) {?>
<img class="logo-top" src="image3" alt="image3">
<?php } ?>
<?php else ( ) ) {?>
<img class="logo-top" src="image1" alt="image1">
<?php } ?>
<?php endif; ?>