Category: Tutorial

Speeding up workflow with a batch file

This is a quickie for Windows users.

Pretty much every single day — or at least days that I’m working on web dev projects (pretty much every single day!), if my computer has been shut down I have to re-launch the same bundle of applications that I use to work. I finally realised that computers are quite good at dealing with repetitive tasks and really should be handling this, not me. The answer is to create a batch file that launches each program.
Continue reading

Create a custom walker class to extend wp_list_pages

The Walker class in WordPress is used to create hierarchical navigation links. It works by ‘walking’ — or iterating — over the data in the database and then outputting the results according to the parameters that have been set. The nice thing is that by using inheritance the class can be extended and manipulated in a child theme to output in a way that might be more suitable to the project at hand.
Continue reading

How to Move WordPress from Local to Live Seamlessly

One of the most common and tedious tasks for WordPress developers is constantly having to move files from local development to the remote server where it can be accessed online. Typically this will be some kind of staging server where online quirks can be sorted out and the client can have a look at the site before it is published. File updates, if coded correctly, will generally not cause any problem since the internal linking should all be relative. But content changes of any kind will affect the database and require the database records to be adjusted, and that is where the tedium can set it.
Continue reading