Article of the week

Updating WordPress database URLs - part 2

Updating WordPress database URLs - part 2

03 Jan 2017 13:03:49


Second part of the series on the subject of replacing URLs in WordPress database.


In this second part on the updating WordPress database URLs I'll concentrate on a database-wide approach. All tables will be scanned and old URLs updated to new ones. Also serialized data will be properly dealt with. In this part, mysql utility will not be involved ( but ...

Read full article »

Recent articles

Extending WordPress custom menus

29 May 2017 13:23:02

Web development

Extending WordPress custom menus

Suppose you have built a custom menu using WordPress GUI for your website. The menu contains a subset of links to posts and pages that your website has to offer. For example, it might not, and in fact it shouldn't, contain a link to a confirmation page, user gets redirected ...

Read more »

Non-destructive array extending in PHP

25 May 2017 13:30:48

Web development

Non-destructive array extending in PHP

Non-destructive extending of array in PHP Suppose you have to extend a PHP array by inserting some value at a particular index of it without destroying other pieces of data stored in the array. In PHP Extending array non-desctructively by prepending an item can be achieved with ...

Read more »

Installing WordPress language files automatically

20 May 2017 22:03:03

Web development

Installing WordPress language files automatically

Installing language file(s) is one of possibly hundreds small tasks one has to plod through while building a multilingual website or blog with WordPress. Mostly due to being documented well, the task is not difficult to carry out. Nonetheless, it diverts attention from other ...

Read more »

Insertion Sort algorithm and sorting dates in PHP

03 May 2017 14:04:47

Web development

Insertion Sort algorithm and sorting dates in PHP

When it comes to dealing with dates and times in PHP, one look at the language related manual pages is enough to concolude, there is a daunting number of various functions for all sorts of purposes, from stuff for managing timestamp and timzones to routines for formatting and ...

Read more »