Adding Ads to arthemia theme

This guide explains how to put your ads into the arthemia wordpress theme. By default, arthemia has 2 places for ads, the 468×60 pixel ad in the top right, and the 300×250 pixel ad a bit further down on the right side. Both of these sizes are common to Google AdSense.

Adding the 468×60 ad:

  • Head into your WordPress admin Dashboard
  • Click Appearance
  • Select Header (header.php) from the list on the right
  • Find the line of code (about half way down) that reads:
    • <img src=”<?php echo get_option(‘home’); ?>/wp-content/themes/arthemia/images/banners/wide.jpg” alt=”” width=”468px” height=”60px”  />
  • Just replace the entire thing with your ad code (make sure that your code is for a 468×60 pixel ad)
  • Scroll to the bottom of the page and click Update File

Adding the 300×250 ad:

  • Head into your WordPress admin Dashboard
  • Click Appearance
  • Select Sidebar (sidebar.php) from the list on the right
  • Find the line of code (right near the top) that reads:
    • <img src=”<?php echo get_option(‘home’); ?>/wp-content/themes/arthemia/images/banners/square.jpg” alt=”” width=”300px” height=”250px” />
  • Just replace the entire line with your ad code (make sure that your code is for a 300×250 pixel ad)
  • Scroll to the bottom of the page and click Update File
  • Meagan

    I accidentally erased too much code from the sidebar, and I'm not sure what it said or how to fix it. Is there any way to find out what the code at the top of the sidebar is–above the img src ad code.

  • I'd say just download a new copy of the theme to your computer. Unzip it and have a look at the sidebar.php file. You can copy the code from there and paste it back into the one on your site. Here is the link to download the theme: http://michaelhutagalung.com/downloads/Arthemia

  • mrwoc

    Hi there

    Thanks for the tips on the ads, as i really didnt have a clue lol !

    Woc

  • Maipk

    Thank you very much, that's what I'm looking for