Category Archives: Behind the Websites
Everything to do with website coding that we can think of. Front-end, back-end, upside and down, you’ll find it here. It also contains our thoughts about Content Management Systems (CMS) and all the other little and technical things.
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
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
Behind the Websites: JavaScript the WordPress Way / Part 2
June 4, 2010
In Part 1 we introduced the wp_register_script
and wp_enqueue_script
functions developed to avoid JavaScript conflicts.
In this section we’ll deal with a more complicated example. We’ll also take what we’ve learnt about including JavaScript and apply it to our CSS.
Tags: coding, CSS, JavaScript, plugin, theme, WordPress, wp_enqueue_script, wp_enqueue_style, wp_register_script, wp_register_style
Behind the Websites: JavaScript the WordPress Way / Part 1
June 3, 2010
Problems arise when your theme or plugin both use the same JavaScript library or if Prototype and jQuery are both used on the same site.
Two of the most important WordPress functions are often ignored by WordPress theme and plugin developers. Introducing: wp_register_script
and wp_enqueue_script
.
Tags: coding, JavaScript, plugin, theme, WordPress, wp_enqueue_script, wp_register_script
Behind the Websites: Rounded Corners Everywhere
May 26, 2010
Similar support of rgba and border-radius in modern browsers allows us to use both the old graphical and new css3 methods for rounded corners. This gives us the same look in almost all browsers.
Tags: border-radius, browser support, CSS, CSS3, rgba, rounded corners
Behind the Websites, Business, Content Strategy, Design: The “D” Word
November 24, 2009
To call oneself a ‘Web Designer’ is about as accurate and explanatory as saying ‘I work with computers’.
Tags: graphic design, web design, web production
Behind the Websites: Charging for themes? Do the right thing!
November 12, 2009
Of all the Wordpress functions, I think wp_register_script, wp_register_style, wp_enqueue_script, and, wp_enqueue_style are the most elegant.
Tags: CSS, JavaScript, rants, themes, WordPress
Behind the Websites: Including WordPress’s comment-reply.js (the right way)
August 14, 2009
Since threaded comments were enabled in Wordpress 2.7, most themes check if the visitor is browsing either a page or a post and adds the JavaScript required for threaded comments if they are.
I prefer a slight variation
Tags: comments, JavaScript, threaded comments, WordPress