By default, performing a search on a WordPress website will search through everything; all pages, posts, and any custom posts types that have been created. I came across a scenario earlier however where I wanted to exclude pages from the search and filter the results by multiple custom pos...
When storing information in a session, it is likely that you may want to add additional inormation to this session at a later date. For this particular post I’ll be focusing on how to achieve this within CodeIgniter. Allow me therefore to first demonstrate how the session we will be ...
SyncToy from Microsoft is a great little program to ensure that two folders are kept in sync. I personally use it to ensure local folders and networked folders are kept up to date. Whilst recently installing it on a new PC however, I came across the following error in the logs: Process exi...
I’ve been using the jCarousel Lite plugin from Ganeshji Marwaha for many years now and find it incredibly easy to work with. Due to it’s simplicity It’s also proved easy to modify when I’ve wanted to add additional functionality. I was recently working on a site tha...
The jQuery Cycle Plugin from Malsup is a plugin that I use on a regular basis. It’s easy to add to a site, customisable, and the documentation and examples on the website are excellent. One thing that’s always gnarked me a little about the plugin however is how the slides alway...
When I first heard murmerings of HTML5 a few years back, the ability to add video through use of a simple <video> tag was one of the first new features I remember being discussed. Up until last week, I still hadn’t had the opportunity to have a play with this functionality. My ...
Sometimes we might not know the full title of a HTML page when the page first loads, meaning that we will need to set it dynamically. I found myself in this scenario recently and needed to set the title using JavaScript. I couldn’t believe how easy it was to do and wanted to share th...
There are lots of plugins available for WordPress that allow you to quickly and easily embed forms within a website. Sometimes however, you may need to build a standard form that submits the same as a non-WordPress site. I needed to do exactly this today. I built the form’s HTML, mad...
Whilst recently implementing a NextGEN photo gallery plugin into a WordPress site, I came across a problem whereby pages that should have been displaying galleries or albums, were instead showing a 404 page. I was stuck on this problem for literally 2 hours and, after searching on forum af...
The ZipArchive Class provides a quick and easy way to create, or extract, Zip files using PHP. I did face a problem recently though when trying to build a zip file, and it took me a while to figure out the answer. I would open a new Zip reference, add some files, and then close [...]...