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="https://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:
*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.
3 Comments
Thank you Thank you Thank you! And Thank you some more!
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.
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