I want to add swf files to my sidebar ads, I am using the tribune theme.
in the theme options you can add an image url and a url link, like many themes.
in the sponsors.php
the code for adding the image is:
<?php
$ban22 = get_option('tri_banner22');
$url22 = get_option('tri_url22');
?>
<a href="<?php echo ($url22); ?>" rel="bookmark" title=""><img src="<?php echo ($ban22); ?>" alt="" /></a>
I tried this:
<?php
$ban21 = get_option('tri_banner21');
$url21 = get_option('tri_url21');
?>
<a href="<?php echo ($url21); ?>" rel="bookmark" title="">
<object type="application/x-shockwave-flash" data=<?php echo ($ban21); ?>
width="150" height="150" wmode="transparent" title="" >
<param name="movie" value=<?php echo ($ban21); ?>
/>
<param name="quality" value="high" />
</object>
</a>
but with no joy! please help im going nuts!