WordPress.org

Ready to get started?Download WordPress

Forums

How to add Adsense code in Monthly Archive (3 posts)

  1. kornflique
    Member
    Posted 8 years ago #

    I tried to search and added the code by myself, but the result is still negative.

    I know, it's kinda easy, but I don't know which file to edit in a templates.

    Anybody know, where to add the Adsense the code, for the monthly archive like April 2006, et al.

  2. davidchait
    Member
    Posted 8 years ago #

    it's either index.php or archive.php (I believe).

    if you want them all around the site, you can use something like CG-Inbetween to populate things. I haven't yet added filtering to only show in archives or categories, etc. But since you have to add a call into the theme, you could add to one, and not the other.

    -d

  3. seoresources
    Member
    Posted 7 years ago #

    I'd be very interest to know how to do this as well if somebody figures it out! I've been trying to add Adsense to the archives on http://seoresources.co.uk/ but without much luck so far. Please feel free to contact me by mail if you know the answer, any help is highly appreciated!

Topic Closed

This topic has been closed to new replies.

About this Topic