Author Archives: Peter Wilson
Behind the Websites: JavaScript Localisation in WordPress
September 2, 2010
I was asked on Twitter recently if it’s possible to pass WordPress data to JavaScript, wp_localize_script()
is the tool to do it with.
Tags: coding, JavaScript, themes, WordPress, wp_enqueue_script, wp_localize_script
Behind the Websites: Delay Print Stylesheets Plugin
August 27, 2010
A few weeks ago I wrote a post in which I adapted an idea from a zOompf article to delay the loading of print stylesheets until after a web page has fully rendered. I’ve decided to convert the code from the original post into a plugin and add it to the WordPress plugin directory.
Tags: CSS, JavaScript, plugin, WordPress
Behind the Websites: Delay loading of print CSS
July 28, 2010
Recently I stumbled across an article detailing browser performance with the CSS print media type. In most recent browsers the print stylesheet held up rendering.
The article suggested a solution, which I decided to automate for WordPress.
Tags: coding, CSS, JavaScript, WordPress
Behind the Websites: Thesis V WordPress, Pearson V Mullenweg
July 15, 2010
Mullenweg believes that, because WordPress is released under the GPLv2 license, all themes and plugins developed for WordPress must also be released under the same license. Pearson disagrees. I believe that Mullenweg is wrong. WordPress themes can operate on other blogging platforms with minimal changes.
Tags: blogging, Chris Pearson, GPL, Matt Mullenweg, Movable Type, themes, Thesis, WordPress
Behind the Websites: Getting the bloginfo correctly
July 13, 2010
One of the standout problems when using plugins with WordPress MS is when they define a constant for the plugin’s url as the script starts executing.
Tags: bloginfo, coding, domains, plugin, theme, WordPress, WordPress MS
Behind the Websites: ‘Skip to Content’ Links
July 8, 2010
Josh and I were discussing the positioning of Skip to Content links on a website. In the past I’ve placed these in the first menu on the page, usually positioned under the header.
Tags: Accessibility, Best Practice, coding, content, JAWS, screen readers, WordPress
Content Strategy: Blog Post: This Tweet Looks Unloved
June 29, 2010
We had Twitterfeed set up at this blog’s old location and took the opportunity to compare click-throughs from manual tweets versus automated tweets. Manual tweets had a substantially higher click-through rate than the automated tweets.
Tags: blogging, blogs, CoTweet, Statistics, Twitter, Twitterfeed
Business: Surprise. It’s all about honesty
June 22, 2010
We were unable to help a potential client with the task they had in mind. We may have been able to fudge it but we don’t think ‘fudging it’ is the way to keep clients happy.
Design: Web 1.5
June 16, 2010
The brief for Big Red Tin and its redesigned sister site, Soupgiant, included the note “We haven’t got an exact style in mind, but something relaxed and modern without going over the top – Web 1.5 if you like“
Tags: Content Strategy, Design, Web 2.0
Behind the Websites: Valid Isn’t Best Practice
June 9, 2010
Not long ago, on the @soupgiant account, I tweeted “Vaild html / css doesn’t indicate your code is best practice; it may even indicate the opposite. #css3″. Neither the xHTML nor the CSS on this site validates, we consider it to observe best practices.
Tags: Accessibility, browsers, html5, input types, standards, xhtml