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

XF 1.4 Ads after first post

Discussion in 'Styling and Customization Questions' started by Jens1986, Jan 28, 2015.

  1. Jens1986

    Jens1986 Active Member


    I want an ad after the first post. I use the ad_message_below, and use the following code:

    <xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND {$thread.reply_count} > 0">
    Problem is that the ad shows up inside the first post, I want it between the first post and the 2nd post. See my attachment for clarification.

    Can someone please tell me what I have to add to the code?

    Thank you :)
  2. Brogan

    Brogan XenForo Moderator Staff Member

Share This Page