ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Google Adsense

January 24, 2008 3:43pm

Subscribe [1]
  • #1 / Jan 24, 2008 3:43pm

    koi

    36 posts

    I am adding google adsense to my index page and I am wondering how I can control the output of the ads to specific entries displayed.

    For example, my home page displays summaries for 8 different entries.  I would like to display the google ads below or above the title of the first, third, and 7th entries since Google limits us to 3 adsense ads.

    Thank you in advance.  I saw how to limit the output to specific lines in a weblog entry using an if-statement and “count” but I wasn’t sure whether that would work for the actual entries on the index page.

    Mod Edit: Moved to the How To forum.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases