What is PHP Output Buffering?

    As someone who works with WordPress on the regular, output buffering is one of those concepts that I've encountered in the past and, until now, never needed to understand. I hope this serves to be a relatively plain language description of what output buffering is at a high level, and will illuminate the concept for others!

    in Web Development, WordPress.

    The Twig for Timber Cheatsheet

    Although Timber ultimately simplifies templating in WordPress, there’s a bit of a barrier to entry. If you haven’t worked in a templating language before, it takes some time to get a handle on what’s possible. The following are some introductory Twig concepts and snippets I’ve found particularly useful when working with Timber and Advanced Custom Fields.

    in Web Development, WordPress.

    Remove .php from URLs [Snippet]

    When making custom sites, I separate my code into various php files that each include a consistent header and footer so that I don’t have to deal with verbose, redundant HTML files. By default you end up with gross URLs like mysite.com/contact.php. Make it mysite.com/contact by adding this to your […]

    in Web Development.