I'm still a bit new to Conditional Tags and the deal is depending on the page you are on, you get either one set of Social Media links or another for all other pages. Simple if:else or so I thought. When I tried the following code, nothing appeared in my div. Just blank.
<ul id="social">
<?php if ( is_page( array( 1476, 1482, 1484, 1487, 1489 ) ) ) { ?>
<li id="facebook"><a href="https://www.facebook.com/XXXX" title="Facebook" target="_blank">Facebook</a></li>
<li id="twitter"><a href="http://twitter.com/XXXX" title="Twitter" target="_blank">Twitter</a></li>
} else {
<li id="facebook"><a href="https://www.facebook.com/YYYY" title="Facebook" target="_blank">Facebook</a></li>
<li id="twitter"><a href="http://twitter.com/YYYY" title="Twitter" target="_blank">Twitter</a></li>
<?php } ?>
</ul>
Seems OK but it's not. Any idea what I'm supposed to do to make this code appear properly?