Learning PHP 101 – Introduction

PHP is one of the most powerful server side programing languages in use to date. It powers most of the sites you see on the web and is a great way to kick start your developer career off. We all learn to code in our own way and writing it down is the best way […] Read more

Flex Grid without Extra HTML markup

Flex is a CSS property that allows developers to more easily layout and align content. Flex has been a long time coming and something that has been sorely missing from the developers arsenal for a long time. But finally it is supported widely enough to be deployed and utilized as an essential part of development […] Read more

Remove Extra 10px from Captions

WordPress by default adds an extra 10px to the width of the container that wraps images with captions. This is because the default styling for captions has a thin border that surrounds the entire image. In a recent design I decided I wanted to caption images in a slightly different way and just have the […] Read more

Make Embedded YouTube & Vimeo Videos Responsive

Embedding videos in WordPress is really very simple. Just paste the Video URL into the visual editor and boom! Magic happens! But there is one minor issue. These videos are not responsive by default and will scale incorrectly like this. There are  a number of ways you could fix this, you could go into text […] Read more

Add Defer & Async Attributes to WordPress Scripts

WordPress developers often enqueue scripts incorrectly and sometimes it was done for a reason because WordPress didn’t have a simple way to add the new’ish async and defer attributes. Since Version 4.1 a new filter was introduced that finally provides a simple way to add async/defer attributes without bastardizing the process. apply_filters(‘script_loader_tag’, string $tag, string $handle, string […] Read more

Adding Additional Schema Types to Thesis 2

Thesis 2 comes with a Schema API built in which has some common Schema types added by default, but did you know you can add your own additional Schema with a simple filter. Thesis has the following common Schema types built in: article creativework recipe review Adding additional schema requires two simple filters that can […] Read more