You may want to read this first but for the Glowing Amber theme, adding a flash movie or other media based item to the header area of this theme is not going to be simple as you will need to add your code carefully. Right now the current header code for the Glowing Amber theme is this:

<div id="header" class="clearfix">
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="columns">
<tr>
<td id="headercaption"></td>
<td id="headermedia"></td>
</tr>
</table>
</div>

As you can see above, there’s a lot of code showing from standard HTML to PHP. I would recommend you add another container for your flash movie or slideshow because if you replace the existing two column header that is there by default, you will lose the ability to use it in your site.

Add something like adding another table:

<div id="header" class="clearfix">
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="columns">
<tr>
<td id="headercaption"></td>
<td id="headermedia"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td>your flash code here</td></tr></table>
</div>

Or another method using a div:

<div id="header" class="clearfix">
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="columns">
<tr>
<td id="headercaption"></td>
<td id="headermedia"></td>
</tr>
</table>
<div id="yourstyle">add your flash movie code here</div>
</div>

You may want to create a custom style for your div container or table so you can control style attributes like width, height, background, padding, margins, etc. Keep note you should have some css basics to do this as each person will want something different than others.

Is There an Easier Way to Add Flash?

WordPress offers a few plugins that you may want to consider which are developed to make it a bit easier (in most cases). Here are a couple options:

  1. Using Shortcodes, swfObj plugin **You should be able to add shortcode to a text widget to the header position.
  2. Kimili Flash Embed
  3. Embed Object

I’ve never used any of these but if you want to try them out, go for it. There are more options that you can find by simply doing an extended plugin search for “embed flash” keywords and you will see many results show up. Just keep note that some may require you to add code to your theme file, in which case you can use the methods of code above. If anyone has additional information about this subject, let me know and I can add it (with credit to you of course).

By |2017-09-13T17:13:01+00:00September 25th, 2010|Blog|