Editing ads in PHP
-
I am attempting to add Amazon.com affiliate links to the three ad spaces that are on the WordPress theme I am using (Brownline). Amazon’s links are in HTML. The only way I have found to edit the three ad spaces is through the Appearance Editor and “ads.php.” “ads.php” looks like this:
<div id=”sad”>
- <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/ads.jpg” alt=”ads” />
<li class=”sad_margin”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/ads.jpg” alt=”ads” />
<li class=”sad_margin”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/ads.jpg” alt=”ads” /></div>
My question is this: how do I insert the HTML in the above code so the Amazon ads appear on my homepage? I have been able to get a little question mark in a box, but the ad will not show up.
- The topic ‘Editing ads in PHP’ is closed to new replies.