Category Archives: Web Development

Mime Types (especially for Web Fonts)

I am regularly having to go in search of mime types for web fonts, so thought I would put them here so I will know exactly where to go for them. .eot      application/octet-stream .woff     application/x-font-woff .svg      image/svg+xml .ttf        application/octet-stream Feel free to add more mime types below that […]

Exclude Featured image from WordPress gallery

I needed to add the default wordpress gallery to page with a featured image but found that the featured image was also included in this gallery. The best way I found to exclude this is to add the code below to your site function exclude_thumbnail_from_gallery($null, $attr) {     if (!$thumbnail_ID = get_post_thumbnail_id())     […]

HTML5 Boilerplate

http://html5boilerplate.com/ This template is a great starting point when creating a new website. The template contains jQuery, Modernizr, uses HTML5 tags and CSS3 also. The template comes with and index.html page which should be base of all your pages in the site, it also has a 404.html page which can easily be changed to fit […]