Jay Hoffmann

Books, movies, and code


WordPress

  • Choosing WordPress hosts for my personal site

    I usually find my head spinning trying to pick out a new host. That still kind of happened this time, but it definitely went better. Continue reading

  • Editing Crop in WordPress Images Before Upload

    For a recent project, I had a need for a pretty simple workflow. I had a couple of image sizes, which I added with the add_image_size function which required a hard crop to a certain aspect ratio. The workflow for authors I was looking for was: Upload Image Edit the crop for these special sizes… Continue reading

  • Using Gravity Forms with Bootstrap Styles

    I use Bootstrap as a starting point for a lot of the themes that I build as a great starting point for reusable components. But one of the problems I’ve run into is trying to integrate Gravity Forms with Bootstrap. By default, Gravity Forms does not include Bootstrap classes, so the two don’t end up… Continue reading

  • Changing Field Keys in Advanced Custom Fields

    I recently ran into a problem when using the Advanced Custom Fields plugin which is a bit esoteric. In the previous iteration of the site I was working on, fields were registered programmatically, using acf_add_local_field_group and acf_add_local_field. In the new version, we decided to move these back into the GUI on the admin panel. For most of… Continue reading

  • First Steps with Javascript and WordPress

    It starts with a simple maxim. Learn Javascript Deeply. That’s what Matt said. And it’s good advice. Javascript underpins everything we do, and it’s becoming more and more advanced every day. It’s not just the future of WordPress, it’s the future (and present) of the web. Of course, Matt mentioned this right around the time… Continue reading

  • Gulp, LiveReload, SASS and WordPress

    For a little while now, I’ve been using Gulp in my WordPress themes to automate my front-end workflow and add some handy helpers along the way. For those unaware, Gulp is a slick JavaScript task runner, which can be used to concatenate JS and CSS files, lint files, and generally automate your front-end workflow. My… Continue reading

  • The Responsibility a WordPress User

    Last week, WP Tavern posted an article about how Matt Mullwenweg was addressing concerns over WordPress development moving too quickly. Matt more or less shrugged the question off in his State of the Word, but it is still a rising sentiment. And it’s not just a concern in the WordPress community, but in the larger web… Continue reading

  • Leveling Up in JavaScript for WordPress Developers

    Or How I Learned JavaScript. When I started building websites, I used Notepad, and wrote pages in plain HTML and a little CSS. After a couple of years giving that a go, I moved to WordPress, and found out all about web standards. I’ve certainly written my fair share of PHP, but my primary skill set… Continue reading