cms

Base code for a WordPress theme using PHP namespaces

I provide a free public Github repository containing example code for starting work on a WordPress theme which uses PHP namespaces and template parts.

Base code for a WordPress plugin using PHP namespaces

I provide a free public Github repository containing example code for starting work on a WordPress plugin, which uses PHP namespaces.

Handling file requests with the WordPress Rewrite API

I occasionally have a need to divert file requests on a website to a PHP script. By doing so, I can determine whether the visitor may access it, see whether an image should have a watermark automatically applied, or notify an administrator that a PDF has been viewed or downloaded. The easiest way to do… (Read More)

Managing WordPress Theme plugin requirements

I’m in the closing stages of development for a new WordPress site for a client. (A private one, so I can’t go into details.) As the development phase has progressed, the management of the required plugins in the Multisite installation has become ever more complex. Some sites are running an older Theme, which are dependent on a set… (Read More)

Technical case study: SBB RCS

The latest project we’ve launched at !frappant is for SBB (Swiss Railways): a microsite for the Rail Control System team, which promotes their work controlling the flow of rail traffic throughout the national network.

Customizing Twenty Sixteen

(The WordPress theme, not the year.)

WordPress plugin to get rid of the need for CAPTCHA images

“Comment spam” is a term which relates to automatically-generated website comments. People with too much time on their hands make software to submit to websites like mine. It’s then down to me to ensure that the nonsensical or downright abusive comments don’t appear on my website, and that my email inbox doesn’t get swamped with… (Read More)

Adding a post thumbnail to the WordPress backend list view

In an effort to share more of my work with the open source community, I’m gradually starting to submit more plugins to the WordPress Plugin Directory. The latest addition, approved recently and made public today, is a plugin which extends the backend list view with a small thumbnail-sized preview of the post thumbnail (where one is… (Read More)

The headless CMS

The Next Big Thing* in the world of CMS-based web development is the headless CMS solution. A headless CMS is a more pure – and therefore technically more simple – content management system. A system in which the focus is 100% on managing content and providing a way to access it: for example, creating new articles,… (Read More)

Disabling persistent MySQL connections in TYPO3

TYPO3 occasionally throws the following error message when attempting to connect to the MySQL database, blocking the operation of the website. The error also occurs when reporting is set to Production mode in the install tool. Uncaught TYPO3 Exception: #1: PHP Warning: mysqli::real_connect(): (HY000/1040): Too many connections in […]/typo3_src-6.2.13/typo3/sysext/core/Classes/Database/DatabaseConnection.php line 1199 | TYPO3\CMS\Core\Error\Exception thrown in file[…]/typo3_src-6.2.13/typo3/sysext/core/Classes/Error/ErrorHandler.php… (Read More)