Contact form page template This tutorial will show you how to create a page template which will display a contact form so your readers can reach you. It do not require any plugin to work. Link: http:...
Start with a template Sure, you can start coding from scratch, but there’s a lot of interesting free templates that will make you save a lot of time. Among others, I recommend Mobile boilerplat...
Minus As a developer or designer, you often need to upload images for sharing them with clients or people you work with. Many websites allow you to do so, but what I really love with Minus is how qui...
Prevent automatic image compression By default, WordPress compress jpg images when you upload them to your blog. This is useful because it saves bandwidth and loading time, but sometimes you may pref...
CatsWhoCode snippet library Some of you already know it, but a few weeks ago I’ve created a snippet library with a picky selection of usefull snippets focused on web development: PHP, JavaScrip...
Step 1: Creating a TextMagic account In order to send SMS to mobile phones, you need to use a third-party service. In this tutorial, I’m using a service called TextMagic to send SMS. There are ...
Two things to note: First, any of these queries should be preceded by a backup of your whole database. Secondly, don’t forget to replace the wp_ table prefix by the prefix used on your WordPres...
Media Element MediaElement is an audio an video player which is written in pure HTML5 and CSS. Older browsers are supported by Custom Flash and Silverlight players that mimic the HTML5 MediaElement A...
A code snippet library on CWC? Over the years, CatsWhoCode has become a place of interest for web developers. Most popular articles on the blog are those who showcase useful code snippets which can b...
Check if a specific website is available Want to know if a specific website is available? cURL is here to help. This script can be used with a cron job to monitor your websites. Don’t forget to...
What is the transients API, and why it’s useful Most developers who worked with WordPress in the past probably ever heard of the Options API, which allow you to save, update and delete custom v...
Text messaging with PHP using the TextMagic API If for some reason, you need to send text messages to your clients cell phones, you should definitely have a look to TextMagic. They provide an easy AP...
What is CoffeeScript? To keep it simple, CoffeeScript is a little language that compiles into JavaScript. If you ever coded in languages such as Python or Ruby, you’ll probably love CoffeeScrip...
Ofmlabs Codecs: Pure JavaScript audio decoding Ofmlabs is bringing audio decoding to JavaScript with two great pieces of code. The first, named JSMad, was the first proof that JS audio decoding is po...
Add Google+ button to your posts automatically Google+ is a new “social” service offered by Internet giant Google. If you want to let your visitor “plus” your post, why not ad...
Preloading images Preloading images is useful: Instead of loading an image when the user request it, we preload them in the background so they are ready to be displayed. Doing so in jQuery is very si...
All of the snippets below have to be pasted into your .htaccess file, which is located on the root of your Apache server. Waring: Always make sure you have a working backup before editing your .htacc...
Create an adaptable website layout with CSS3 media queries With the rise of both very large screens and mobile devices, web developers have to be able to create websites that display correctly and lo...
CSS3 media queriesWith the rise of mobile devices, and on the other hand, of very wide displays, creating a website that looks great in both big and small devices is definitely a challenge for web de...
What is prefetching, and why it is usefulAccording to whatwg.org, rel=prefetch "indicates that preemptively fetching and caching the specified resource is likely to be beneficial, as it is highl...
Display a snapshot of any websiteWant to be able to take a snapshot of any website, and display it on your blog? This cool shortcode allows you to do so. Just paste the following code into your funct...
Initializr Starting anew HTML5-based website? Just visit Initializr to get started. Initializr will generate for you a clean customizable template based on Boilerplate with just what you need to star...
Using <audio> to insert a sound file on your websiteHere is the most basic use of the <audio> tag: On this example it loads a mp3 file and play it. Notice the autoplay attribute which is ...
Easily replace WordPress editor fontDon’t like the default font used by WordPress editor? No problem, the following code will allow you to change it. Simply paste it to your theme functions.php...
MicroJS Need a piece of code quickly? MicroJS is a brand new site which aim to provide JavaScript code snippet for most common tasks: Ajax, Json, DOM, Object-Oriented JavaScript, and more. A true gol...
Color animate any shape with CSS3 and a PNG Let’s start this compilation with an interesting effect created using only CSS3: A png image with a changing background. The background is using CSS3...
Before editing your .htaccess file, always make a backup so you can restore it if needed.Remove www in urlFor SEO reasons, you might always remove (or use) the www prefix in your urls. The following ...
Getting startedView DemoDownload files1 – Add HTML5 doctypeThe first thing to do is create a valid HTML5 document. The HTML5 doctype is easier to remember than ones used for xhtml: <!DOCTYPE...
Respect HTML and CSS standardsThis statement may sound pretty obvious, but actually many publicly available themes don’t pass W3C HTML or CSS validation. When building a theme, it is important ...
CSS3 Pie Are you surprised that Internet Explorer 6/8 CSS3 support is almost non existent? I guess most of you aren’t. Unfortunately, some clients may want you to create a website that look lik...
You are no longer following . Undo?