New flash header with wordpress plugin Kimili

Obviously if you’re reading this you can see the new flash header – it was tough getting something cool that wasn’t ridiculously huge (file size wise) – the first lame attempt was 1.4 megabytes! (I said NFW). Now it rolls in at a svelte 105 kb’s (sweet).

I used the Kimili Flash Embed plugin (a verry nice job Michael), but since I had some difficulty actually figuring out precisely where to put the syntax into the header.php file, I thought I would show anybody else who may be interested.

Open your theme’s* header.php file and around line 35 remove these two lines:

   
<a href="<?php echo get_settings('home'); ?>" title="<?php bloginfo('name'); ?>">

<h1><?php bloginfo('name'); ?></h1>

But leave the line between them:

<div id="headerimg">

Just below that is where you insert the syntax for the Kimili plugin, my final code looks like this:

<div id="page">
<div id="header">
<div id="headerimg">
kml_flashembed movie="http://www.daveryder.com/header.swf" height="200" width="758" /
<div class="description"><?php bloginfo('description'); ?></div>
</div>
</div>

There are supposed to be square brackets [ ] around the Kimili syntax shown above, i.e. before kml_flashembed and after width=”758″ / – I had to remove them because if I didn’t, the header would just load, heh as I found out.

So, anyway I love it especially my flashing negative skull which is eerie as all fuck, but just in time for Halloween:
a representation of my skull as a negative image - not actual size

*note – remember, even though it doesn’t look like it I use the default Kubrick theme – it’s just modified and hacked to hell and back. in a handbasket.

AND UPDATE 11-12-08 – not using the flash header anymore (frankly it was a bit annoying), but the plugin works fine. If u want to see it click here.

Facebook Comments

4 comments ↓

#1 adodo on 05.18.09 at 10:57 pm

what a great explanation, i’ve searched it so long but still dissapointed with the others… finally i found it here.. thanks bro!

aaaaniwey, visit my blog just to share something maybe… thanks ya!

#2 James Mugford on 06.07.09 at 2:01 pm

nice one mattey. maybee if u got no one better to do it with, collaborate in the future? let me know ure thoughts

James Mugford

#3 paul on 08.15.09 at 10:18 pm

I am a budding webist, you saved my bacon on this one- after MUCH frustration. I hope some resultant goodness comes your way my friend.

#4 Patricia on 05.25.10 at 7:33 pm

Thank you Thank you Thank you! And Thank you some more!