Posted on Monday 3rd of November 2008 at 03:44 in The Internet

ShoeMoney manages to highlight the failure of Wordpress

Without wanting to get on my web-developer-accessibility-high-horse again (such as I did when denouncing the AWeber Lightbox as evil), I visited ShoeMoney for the first time in a couple of months today and it started my on a journey highlighting where Wordpress actually fails.

What started this minor investigation was seeing this when visiting his site:

shoemoney overlay gone wrong

This is a very common problem when implementing Lightbox-style overlays
Flash content takes itself out of the flow of the document and will sit above your overlay (seemingly with a huge Z-Index that you'll never beat).  The trick is to un-embed the video when the overlay is triggered and re-embed it when the overlay is removed.  In order to keep things looking good you can replace the video with an image of the video if you must, or just a placeholder; either way to avoid this problem you need to remove the Flash out of the DOM (document object model).  Clearly this is something that Jeremy's Wordpress Lightbox plugin didn't take into account.

So I dove into the source code to see if it was Aweber again
Good lord.  9 linked stylesheets, some stylres embedded into the head, multiple inclusions of Jquery (a Javascript framework) and generally included files everywhere.  More in-page Javascript is found at the foot of the homepage too, underneath a form that has been positioned using tables and various objects with inline styles.  No. No. No.

This isn't Jeremy's fault; you're either a web developer or you're not and Wordpress is there to empower the average user
It just hurts me to see such a violent mish-mash of widgets and incorrect code.  I can only imagine how those chaps at Unique Blog Designs feel about this.

Why does it matter?
The most obvious and costly point will be the weight of each page.  If you're including the same Javascript framework file onto each page twice, that's probably 50kb of wasted bandwidth for every page impression.  If you're on the wrong hosting package and you get Dugg, that might really hurt your pocket.  Heavy pages load slower (obviously Jeremy has decent hosting, but you probably have quite ordinary hosts that don't cost too much, so there'll be a noticable drag effect on your pages).  Using this many Wordpress plugins in such an ad-hoc manner makes your code ugly and invalid.

Since when did invalid code make a difference to my blog?

While I don't believe in every website passing the W3C validator, it does serve to be a fair metric as to how easily your site can be parsed by search engine spiders.  Valid code is inherantly more accessible, easier for alternative browsers to interpret and therefore easier for search engine spiders to find all your content.  Malformed code can have detrimental effects to your natural search listings and that's not ideal.

How can I avoid being in this situation?
Realistically you'll want a blog design implemented with all of your plugins in mind; therefore the developer can optimise what files are included onto the page and tackle most of these problems before they even begin.  The problem occurs when you've got a perfectly good design that has been overloaded with widgets and plugins, all adding weight to the page and making your blog slow and unattractive.

So please Jeremy, give Unique Blog Designs a call and see if they can't optimise the design they did for you; it's organically progressed into a bit of a mess...

 

Enjoy this article? Why not subscribe to the full RSS feed?

Add Your Comments








Comments

Showing most recent 4 of 4 comments

This raises a few good points; is Wordpress only for developers or can the idle user customise it too? Top level bloggers like Shoemoney need to be making their sites as fast as possible, and this seems against that notion.
The best bet is to loop through all embed, object and select elements (remember select elements do not sit in the document flow in IE 6) and set their visibility to hidden. This will keep their sizing and position within the flow of the document without needing to un-embed items and risk postioning and scaling issues.
"While I don't believe in every website passing the W3C validator, it does serve to be a fair metric as to how easily your site can be parsed by search engine spiders. " - Google has dispelled this as rumor. While I tend to agree with you, the Webmaster chat (Google’s Webmaster Tricks and Treats) a couple weeks back made it clear that passing the W3C with flying colors does not help your Google ranking.
The lightbox you show in the screen shot above is not an AWeber lightbox.

The problem described is a common issue anyone attempting to utilize the HTML z-index runs into since Flash ignores them by default. The solution requires 2 small tweaks to the flash embed.

wmode="opaque"

http://www.aweber.com/faq/questions/531/How+Do+I+Fix+My+Form+To+Appear+Above+Flash+Content%3F



Subscribe to the RSS Feed

Stay up to date with Seopher.com by subscribing to the RSS feed, either in your browser or subscribe via email using the form below

Updates by Email

By subscribing by email you’re also subscribing to the Seopher.com newsletter; a periodical email outlining new reviews, competitions and other subscriber-only content

  • 125x125 banner only $50 pcm
  • make money online with t3leads
Want to give your product/website exposure?

Paying for a featured review is a great way to give your product, service or website exposure. For as little as $50 you can have a full review on the site forever.

Advertising Bundle! Review + Banner = $70

To kick start the new improved Seopher.com, buy a review and get a 125x125 advert half price. Your banner gets displayed on over 450 pages for a full month.