Welcome! To use this support forum, please Login or Join Today!

You are here → Home :: Forum Home :: General WordPress :: WordPress :: Thread

   

Flash banner in the Onyx Header Ad position

{name}
Rank

Total Posts: 25

Joined 2011-08-08

PM

 
Hi Casey,

Is it possible to put a Flash.swf file into the header ad position in Onyx?

Would it be a case of changing the code in the template stylesheet? If you could help answer this and my previous questions I'd really be grateful!

Thanks in advance,

Marts
{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
You could edit the header.php and edit this block:

 <?php if (get_option('sthemes_show_header_ad')) { ?>
  <div id="headerad">
   <a href="<?php echo (get_option('sthemes_header_ad_url'));?>"><img src="<?php echo (get_option('sthemes_header_ad_img'));?>" alt="ad"/></a>
  </div>
 <?php } ?>



Change to:

<div id="headerad">
<!-- // Your embed code here -- >
</div>

{name}
Rank

Total Posts: 25

Joined 2011-08-08

PM

 
Thanks Casey! Really helped.