Forums

How to make a banner appear only once in between posts? (2 posts)

  1. soren.romer
    Member
    Posted 4 months ago #

    I want to put a banner in between posts 2 and 3 on my blog, but so that it doesn't repeatedly appear in between all the posts. Can anybody help me on how I do this?

  2. alchymyth
    The Sweeper
    Posted 4 months ago #

    try to use a conditional statement, for instance using $wp_query->current_post (which starts with 0 zero for the first post in a loop)

Reply

You must log in to post.

About this Topic

Tags