PHP, Web Development, Wordpress

Custom WP_Query and loop with pagination – without plugins

This is very easy to do, and yet is so difficult to find info on around the net. Follow this guide to build functional custom WP_Querys and loops with the correct pagination using WordPress’ built in functions. Firstly you need to define your WP_Query. Importantly you don’t want to use the $wp_query variable. This may [...]

No Comments

PHP, Web Development

How To Fix Error: “Warning: session_start() [function.session-start]: open(/path/to/file, O_RDWR) failed: Permission denied (13) in /path/to/script.php on line __LINE__”

I recently had this error. There was lots of information on the internet, but nothing that could help me with my specific case. It would appear that a session file is not accessible anymore and this is causing the error. Aside from the error itself, I was only seeing this error on one particular browser [...]

No Comments

Metro, Windows

600 Windows Metro Icons Worth £320 For Free!

Syncfusion are currently offering their “Metro Studio 1″, which features 600+ royalty free Windows Metro-style icons for free. It has a face value of $499 (~£320), so is a steal for nothing. Syncfusion do not state whether this is a time limited offer, although all the information would point to it being a permanent offer. [...]

No Comments

Apple

Informal review of my new Macbook Air

I’ve just bought myself a brand new Macbook Air. I went for the 13″ model with 4GB RAM, 1.7Ghz i5 and 128GB SSD (or, as the guy in the shop so eloquently put it “the entry level model”!!!). Its the best thing to ever happen to me (with the notable exception of all the other [...]

3 Comments

Android, Android Apps

50GB Free Storage with Box.net and Android

Box, the main competitor to Dropbox and my favourite personal cloud storage service, is currently giving away 50GB with their updated Android app as long as you register and sign in on the Android app before March 24th. You also get a file size bump up to 100MB from 25MB. This is an offer Box [...]

No Comments

Web Development

Creating Word Documents on the fly, on any platform, using HTML and CSS

This is something I’ve come across a few times, and something I’ve had a few people ask me from time to time. Unless you’re using C#, and/or want a huge headache, this is probably your best option, and works very effectively. The trick is to use HTML, CSS, save the file with a .doc extension [...]

No Comments

Web Development

CSS Tricks: Clear floated elements

This is my favourite CSS trick at the moment. Floated elements are so useful, however, they also cause so much annoyance when you have to find ways of clearing them to allow content to start properly further down the page. Normally I would create a new element below the floated elements which would clear the [...]

No Comments