Post Number Conditional?

ScottLott

Member
I'm trying to setup a conditional statement that applies to an array of specific posts, I can't find what syntax to use for that.
 

Brogan

XenForo moderator
Staff member
Have you tried <xen:if is="{$postId} == x"> or <xen:if is="in_array({$postId}, array(x, y, z))">

I haven't tested that though, so it may not be correct.
 
Top