how do I insert an affiliate advertisement?
-
I’m using the free css template’s “embouteillage” template on my band’s blog page, Buried Head.
Within that template is a 160×600 advert panel that I wish to insert an affiliate linked banner advertisement.
The html code link for the affiliate banner is:<img border=”0″ src=”https://www.addnewfriends.com/affiliate/banners/160×600.jpg” width=”160″ height=”600″>
I see that in the header php there is a reference to the advert panel as follows:
<!– start page –>
<div id=”page”><!– You can use the Text Widget to add content in –>
<!– this column (e.g. HTML codes for your banner.) –>
<div id=”adbar”>-
<?php if (!function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Adbar’)): ?>
- <img src=”<?php bloginfo(‘template_url’); ?>/images/ad160x600.gif” alt=”” width=”160″ height=”600″ />
<?php endif; ?>
</div>
Can someone tell me what I need to put where within this php code please? I have no knowledge of php.
Though the reference to the advert panel is within the header.php, the panel appears to be on the right of the sidebar on the page.I have used the same template for the main Buried Head index page, though that uses html and css and I have therefore been able to insert a similar banner link successfully there using dreamweaver.
But php has me totally confused.Thanks,
Norman Austin
- The topic ‘how do I insert an affiliate advertisement?’ is closed to new replies.