How to insert an ad between the navigation?

Viewing 3 posts - 1 through 3 (of 3 total)
  • #15385
    echezuria
    Participant

    Hi guys, great theme btw.

    I was trying to insert an ad (adsense or amazon) between the post navigation.

    I would like to show an ad after 5 post on every pagination page, is there a way to do this editing the index.php?

    I managed to insert an ad using a counter but the ad was showing over the first post and not in the position that corresponded after the fifth post.

    Maybe I need some DIV specifications in order to show correctly my ad between the pagination.

    Please let me know how I can solve this issue.

    Thanks for your help!

    #15423
    Daniel Tara
    Keymaster

    It’s possible if you wrap the ad in a div with class hentry, then it will be processed by jQuery Masonry script.

    #15466
    echezuria
    Participant

    Thanks Daniel, now it works great with normal pagination.

    But, how can I make it work with the infinite scroll pagination?

    With infinite scroll the ad only shows 1 time, and it is not showing on the next round of posts after loading.

    Thanks a lot for your help.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.