A akpolakler Member Jan 3, 2019 #1 Hello everybody! Is possible to put ads inside the first post? Thanks in advance!
woody Well-known member Jan 3, 2019 #2 Advertising > Post: Above Message Content <div style="float: right; padding: 0px 25px 5px 25px;"> 300x250 ad code here </div> Upvote 0 Downvote
Advertising > Post: Above Message Content <div style="float: right; padding: 0px 25px 5px 25px;"> 300x250 ad code here </div>
Bombardier Active member Jan 5, 2019 #4 @woody I have just implemented that and it shows an ad in each post ? Last edited: Jan 5, 2019 Upvote 0 Downvote
woody Well-known member Jan 5, 2019 #5 My ad code only displays a single ad in the first slot. Set up as follows, should only display in the first post. <xf:if is="$post.position % $xf.options.messagesPerPage == 0"> <div style="float: right; padding: 0px 25px 5px 25px;"> 300x250 ad code </div> </xf:if> Upvote 0 Downvote
My ad code only displays a single ad in the first slot. Set up as follows, should only display in the first post. <xf:if is="$post.position % $xf.options.messagesPerPage == 0"> <div style="float: right; padding: 0px 25px 5px 25px;"> 300x250 ad code </div> </xf:if>