Home
About me
Advertise
Sitemap
Wordpress SEO
Contact
Hire me
SEO jargon busters
RSS feeds
Daily SEO Blog
Dec
02

How to insert a flash file to your wordpress header?

There are some clients of mine who are very keen on using flash files in their sites. It often end up in a rough debate with me, and both parties got to take deviation. (If you didn’t know, I’m not a fan of using flash.)

Most of the times, I allow them to use flash in a limited way throughout the site. If it’s a static page, we’ll go for small flash elements on each page and for wordpress users, I go for flash headers. Yea, it’s not a good idea actually, because it make you lose some valuable real estate for search engine optimization. But I’ve found a work around to this.

Generally when you use a flash file, these are the problems that you come across.

  • Waste of real estate for SEO
  • Cross browser compatibility issues
  • Non indexability of text used in flash files
  • Unwanted code in the html

But with the workaround you can actually, minimize the unwanted code in html, while the other issues will be there.
Alternatively, you can specify your header text instead of the flash file.

This work around should work for all wordpress themes, but I haven’t tested it on all themes, the Kubrik based themes with large headers seems to work.

It’s a simple plugin that we can use to get this problem solved. This plugin helps you to use a flash file anywhere inside your theme, on your header, posts, sidebars anywhere! Pretty cool isn’t it?

Download the plugin here. The credit goes to Michael Bester for developing this plugin.
To use this plugin, upload it to your plugins directory and activate it from plugins menu. Then go to your header.php file in themes directory and replace the header code with the following code –

[kml_flashembed movie="/path/to/your/movie.swf" height="value" width="value" /]

Of course, replace the values with the actual height and width, and the path to the URL where you've saved the swf file.

It works like charm and if you like it do drop a line to Michael.

Category: Wordpress SEO | Author: Mani Karthik
  1. Sunday Chatter - 12/9 - Money Making Scoop

    [...] at DailySEOblog has written a post on how to insert a Flash file to your WordPress header using a simple plugin. [...]

  2. MohammadNo Gravatar

    Thank you

    But How can i insert Swf File in Blogspot ?

    Mohammad’s last blog post..????? ????? ??????

    Reply

    Hari K TNo Gravatar Replied:

    Though I have not tried this in blogger. You need to upload the swf file some where first . Then make the link to the swf object.
    Something like this .

    Let me know whether it works for you .

    Reply

    Hari K TNo Gravatar Replied:

    Oops the code is not displaying. You can check it out how to add flash from http://www.w3schools.com/flash/flash_inhtml.asp

    Reply

  3. K RaneyNo Gravatar

    Forgive me for being a retard, but what exactly is the “header code” that I am replacing? I’ve looked at the header.php file in the theme I want to put the code on, but have no idea where it goes.

    Reply

    Hari K TNo Gravatar Replied:

    First view the source code from browser . Then track where you need to place it. A quick search may find similar words in php file. Go and add some letters in html and try . If it works , you succeed. Else keep trying like this . You may spend some time , but will learn it , I am sure.

    Reply

    Hari K TNo Gravatar Replied:

    Oops the code is not showing . So let me add the link http://www.w3schools.com/flash/flash_inhtml.asp

    Reply

  4. OneLagNo Gravatar

    worked nice for me, thank you very much.

    Reply

  5. jwqlbNo Gravatar

    “Forgive me for being a retard, but what exactly is the “header code” that I am replacing? I’ve looked at the header.php file in the theme I want to put the code on, but have no idea where it goes.”

    Thats also my question.

    Regards
    jwqlb

    Reply

    Mani KarthikNo Gravatar Replied:

    That would be the Header image code.
    It should start with this code –
    < img src = >

    Reply

    C wardNo Gravatar Replied:

    Hi I am struggling with this too…
    I’m very new and don’t understand where in header.php I should be putting the code. Could I have a little more info of whre it should be in context of the default kubrick file please.

    It would be greatly appreciated

    Many thanks

    Reply

  6. the serpentNo Gravatar

    Hi,
    i use the mandigo theme and it allows to have random and/or different headers per page.
    I couldn’t find the tag, its only things like

    if we find header with post tile name

    if random header option enabled

    if we find your dog in the street

    etc…

    how can I do?
    I think the kubrik has this random header function aswell but maybe you found the img src tag in it.
    I’d greatly appreciate if you’d shed light on this.

    Thanks!

    Reply

  7. AlexNo Gravatar

    Hi, helpful tool to add flash to posts, but it’s based within wordpress code and cannot be used for headers, only for posts created in the wordpress control panel.

    This code:

    [kml_flashembed movie="/path/to/your/movie.swf" height="300" width="300" /]

    is not html and therefore is useless in the header.php file.

    Reply





Click to cancel reply



SEO Wordpress Themes
  • Daily SEO Blog Sponsors

  • Subscribe to SEO Blog

    Enter your email address:

  • SEO Blogging tips

    • Rank high with your server location advantage on Google
    • The real Google Page Rank is neither what you see nor what you can calculate
    • 5 Reverse Engineering steps to beat your competition in SEO
    • 12 Link Building Tips articles you'll ever need to read
    • Link Building Strategies – Tip 1 Rank Lists
    • What are MSN's ranking factors ? Search Engine Optimization Tip
    • Review competition - deadline extended
    • How to create a sitemap for your wordpress blog
    • A 10 Step SEO strategy for achieving maximum visibility and success for your site
    • Check for your blogs bad neighborhood
  • Recent SEO blog posts

    • Bing overtakes Google integrating Twitter (in a crippled way that is)
    • 4 Simple ways to show love & respect to your Twitter followers
    • AdSense now available for Mobile applications too
    • Google might buy Twitter soon – Here’s proof !
    • 8 WordPress Plugins to make your 404 error pages user friendly & efficient
    • Would you credit your sources or hide them ?
    • Sync TweetDeck groups & settings across computers now
    • News of Michael Jackson’s death creates the biggest search traffic ever online
    • How to control spam comments on blogs – Tips from Google
    • What natural links are to you may not be natural to Google !
    • How to design tweets that are loved by all & re-tweeted around
    • Another Google Toolbar PageRank update just happened !
    • SEO Tips for WebMasters from Adam Lasnik of Google
    • Get more followers on Twitter with similar interests as you
    • Real Time Search with Google and Twitter together – Now available !
  • Active users @ SEO Blog

    • SEO training Karachi
    • Abhishek
    • Jacques Snyman | NetAge
    • nm iqbal
    • kami
  • Tags @ Daily SEO Blog

    ads adsense backlinks blog blogger Blogging blogosphere blogs bots categories check crawler crawling crowd Excel google image images indexing india indian instances internet javascript keywords links pages rank robots search engine optimization seo tips serps sitemap submit tags templates theme themes upload video wordpress Wordpress SEO wordpress seo wordpress tips yahoo
  • Popular at Daily SEO blog

    • How to get indexed by Google in 48 hours (87)
    • 10 Twitter tools to effectively manage your followers (77)
    • Free SEO Wordpress theme – SEO Blog (63)
    • How to get free backlinks (58)
    • 9 Twitter Tips that will help you gain respect in the Twitterverse (Like @Zaibatsu) (51)
    • The 50 Most Influential Twitter Power Users in India (49)
    • New Wordpress theme - "SEO Green" from DailySEOblog (47)
    • 25 SEO Gurus you should follow on Twitter (44)
    • The youngest CEO in India - Ashwin Ramesh (41)
    • SEO for Wordpress - A quick guide (39)
  • PodCast Interviews

    Monika Mundell - Blogger(thewritersmanifesto.com) Daniel Scocco - Blogger (Dailyblogtips.com)
  • Social Media Profiles

Basic SEO Tips

  • Change the way your site appears on Google SERPs
  • Control Google's crawl frequency to your site
  • How does Google see your site?
  • Importance of footer text in SEO
  • Optimizing header images
  • SEO tips for MSN search engine
  • Optimizing blog titles for Google
  • SEO friendly layout
  • What is an SEO friendly site structure?
  • Importance of keywords - SEO Tips
  • Anchor text importance - SEO Tip
  • SEO Tips for blogs and bloggers
  • Absolute links or relative links is good for SEO?
  • Important SEO tips for wordpress

SEO Tips for blogs

  • 24 Must have SEO plugins for Wordpress
  • SEO Tips - Copy writing guide
  • How to get quality backlinks?
  • Social media and link building tips
  • SEO Tips - Landing page Optimization
  • How to increase traffic to your blog?
  • How to increase your Page Rank?
  • Image optimization tips for blogs
  • 7 steps to your blog's SEO
  • How and where to find incoming links?
  • SEO tips for Google
  • SEO metrics to track
  • How to build a sitemap for blogger
  • How to get Google sitelinks?
  • Find out when Google indexed you
Mani Karthik Hi, I'm Mani Karthik, Pro Blogger & SEO Consultant from India. I blog, I Tweet, help websites with SEO. Loves working from home office. Quit my day job as SEO consultant 4 years ago, to pursue full time blogging and consultation. Living the dream now.
>> More about me


© 2009 DailySEOblog.com Privacy policy