I would have told you I was against Daylight Saving Time but thanks to some insightful questions from my boys, I looked more closely at DST and how it impacts my life and now I’m a big fan.
Images that appear wider than the text around them are a cool design technique. I do a lot of work with Bootstrap and unfortunately, I’ve found that getting this to work usually ends up with markup that leaves me unsatisfied – at least until now. Using this technique, we can get a full width image without first closing the container element.
When I’m ordering food (e.g. french fries), I often find myself doing the math. For 30% more money, I can double the amount of fries I get (i.e. 100% more fries). Clearly, this significantly reduces my cost per fry, which results in me buying the larger fry. However the problem is the cost per fry […]
When it comes to adding social sharing buttons (e.g. “Share on Facebook”), I’m a big fan of Scriptless Social Sharing by Robin Cornett. The one thing I like to do when using it is add UTM parameters to the links that are shared. Here is the snippet I use to add UTM parameters to my URLs that are being shared.
At some point when pushing your code to a remote server (e.g. GitHub, Bitbucket, GitLab) you’re going to see an error that says, “failed to push some refs” and “Updates were rejected because the tip of your current branch is behind its remote counterpart”. This occurs when someone else pushes code to the remote server that you don’t have. Don’t panic, we can fix this.
With the newly released WordPress 5.0, which includes the new block-based Gutenberg editing experience, many people are installing the Classic Editor plugin to retain the previous behavior. The Classic Editor plugin is the official solution being prescribed for these situations. No problem, install the Classic Editor plugin and 5.0 will be indistinguishable from 4.9.8 for […]
With WordPress 5.0 a new block-based editing experience will be introduced (a.k.a. Gutenberg). This new editing experience is available via the Gutenberg plugin. By adding this plugin to your (development) WordPress website, you can preview the new editing experience. At the time of this writing, Gutenberg is still under-development so I recommend only installing it […]
Recently, I was commenting to my wife that I find myself often going to my Draft posts for notes I’ve taken on completing some task. I complained that these posts were not ready to be published as they had not met my high standard of quality (i.e. I hadn’t removed the most obvious typos and […]
I’ve become a big fan of Local by Flywheel for local WordPress development (i.e. running websites on my Mac). One thing I do find frustrating is the need to SSH into my Local by Flywheel website when I want to run a WP CLI command. Thanks to some great work by Morgan Estes with his […]
There is a very useful command line tool called which. This tool determines which file will be executed when you type it. Unfortunately, this command can sometimes provide the wrong answer. Update: I’ve recently been introduced to the type command, which seems to do what I want. You can jump to the section on using […]