Advanced Custom Fields is used a lot by WordPress developers, and it comes with a lot of handy fields. It's also very developer friendly, for example giving the ability to populate a select field through filters. But in some cases you may have a crazy amount of options/choices to populate it with. I recently had this happen on a project, there were about 10.000 options that were loaded from a JSON file.Continue reading “ACF lazy load Select options”
A common issue people experience with Gravity Forms is related to tabbing from one input to another. Especially when multiple forms are displayed on a page. The issue here is that it adds a tabindex attribute to all input elements.
Continue reading “Gravity Forms tabbing issues”
When I first started to develop WordPress sites, I came across an issue. I had never used WordPress like my customers did. Developers and users usually don’t see things the same way. Besides, most of them had their experiences from one of the default themes. I quickly understood that I needed to experience what they had experienced, and needed to understand their go-to solutions and their pains. At the time, twenty ten was the default one. It taught me a great deal, and helped me empathise with clients in a new way.
One of the great things about owning a Tesla is the fact that it in essence is a computer on wheels. With an API in place, this means that I can pull information from the car, just like the app does on your smartphone. It took me less than a day after taking delivery of my car before I had made my first scripts using the API, and now my OS X app project is starting to take shape.
Recently the WP-admin has gotten more attention from core developers. The Media section recently got a grid design, and the plugins area also got a visual improvement. A thought that followed; why not do the same for the User section? This idea first came around for me while working on an internal project – as well as being inspired by Noel Tock’s presentation on Designing Web Applications.
A high traffic site I host for a client needed to be available on both HTTP and HTTPS. This particular site, though, needed different caches depending on what scheme was used.
Note: Since Varnish doesn’t support HTTPS, it is in this case placed behind Nginx. Nginx then indicates any HTTPS requests passed onto by setting the
With Varnish handling caching, this is what needed to be added to the configuration:
This is a question I have heard (too) many time. How does one reset the root MySQL password on Ubuntu. In order to make this as simple as possible I created a shell script (you can see it below) that does just that.