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.

4 Responses to “New flash header with wordpress plugin Kimili”

  1. adodo says:

    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. 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 says:

    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 says:

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

Leave a Reply

Name

Website

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Login with Facebook: