• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Displaying using conditional statement


Active member
Hello, How can I display something below the first post of the first page in each thread of a specific forum by using conditional statements? Please guide me.


XenForo moderator
Staff member
How can I show content after post x on every page in a thread, only in forums y and z?
<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == x AND in_array({$thread.node_id}, array(y, z))">
This content will show after post x on every page, only in forums y and z


To make it appear on the first page only, drop the % {$xenOptions.messagesPerPage}