Hello and thanks in advance for reading or any help.
In my header.php file inside my wp-content/themes I added a bit of code that says,
<?php if (is_front_page()) { ?>
<img src="wp-content/themes/PeakOilTheme/images/PO_animation.gif" alt="Zenit del petroleo"/>
<?php } else { ?>
<img src="wp-content/themes/PeakOilTheme/images/PO_static.gif" alt="Zenit del petroleo"/>
<?php } ?>
That is, if you're in the front page (which is a page I wrote and called home) display an animation, if you are in any of the other pages (called, "saber más", "noticias", "acerca de") then display a static gif.
This works while using page Ids. like,
http://www.cenit-del-petroleo.com/?page_id=4
but fails to work when using permalinks like,
http://www.cenit-del-petroleo.com/saber-mas
(the page displays ok, but not the image)
Thank you very much for any help provided,
Cheers, Massagran.