• Resolved dstarver

    (@dstarver)


    I am using a WordPress theme called Brownline. It is a beautiful 3 column theme that I downloaded from WordPress.org. However, it comes with 3 pre-set boxes for ads. I am not sure where to go in the theme to utilize these ad boxes. I went to the homepage for the theme, but the author is Japanese, and all of the text is in Japanese. So I am hoping that someone here can help me.

    I really like the location of the ad boxes, and would like to use them. Any help with where I am supposed to insert my Google Adsense code would be greatly appreciated.

    By the way, if you want to see my site (it is not active yet, so don’t expect any articles) you can find it at mmachalet.com. If you go there, you will see the 3 ad boxes that I am referring to.

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you look in the files included with this theme you will find the ads have their own file: ads.php

    This file is called on line 10 of the sidebar.php template file.

    Adjust one or the other, or both, to your own needs.

    Thread Starter dstarver

    (@dstarver)

    Thank you for your help. However, I don’t quite understand. Do I insert my adsense code into “ads.php” or “sidebar.php”, or both? Also, exactly where do I insert it in these files so that it will appear inside of the ad boxes that are provided?

    Sorry if I sound like a novice, but I am. 🙂

    I would suspect you would use the ads.php file … try using Google to find more details about “adsense 125×125”

    Thread Starter dstarver

    (@dstarver)

    Actually, I just played with adding the java script in the ads.php file and in the sidebar file until I got it to work. In case anyone else has this problem in the future, the script goes in the ads.php file. replace the text about ads.jpg. It will then show up in the preset ad boxes.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to use pre-set ad boxes in theme’ is closed to new replies.