$post.post_id}, array not working, what could it be?

Donny

Active member
#1
Hi,

I'm struggling to get this to work, for some reason.

<xen:if is="{$post.post_id} == 5">
<style type="text/css">
.overtaking-top-dynamic {
width: 320px;
height: 50px;
}

@media(min-width: 490px) {
.overtaking-top-dynamic {
width: 336px;
height: 280px;
}
}
</style>

<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- XXXXXXX -->
<ins class="adsbygoogle overtaking-top-dynamic"
style="display:inline-block"
data-ad-client="XXXXXXXX"
data-ad-slot="XXXXXX"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</xen:if>

The post ID or an array version just doesn't want to load.
I can load the first post only version. That's running fine. Also 'with less than' 15 posts works fine too.
It just seems to be post ID related conditionals that aren't working.

What could the reason be?
 
Top