How to get your Genesis Child Theme to load style.css with a cache busting ver URL parameter based on the version defined in the header of style.css.
Gravity Forms Default Value and Caching
I’m a big fan of the Gravity Forms Form builder WordPress plugin. I came across an interesting issue on a project where I was using the default value functionality and I wanted to make some notes as a warning for others (and myself) in the future.
Delete Transients on Plugin Deactivation
When I was a child, my mother often reminded me to clean up after myself. While I’m pretty sure she was talking about the kitchen, this is great advice for plugin authors as well. When someone deactivates your plugin, it is good form to remove anything you added to the database. The most common place […]
WordPress transients, like most things in programming, are about being lazy. Unfortunately, in this case it isn’t about making the programmers life easier but rather about making the web server’s life easier (and the people who maintain and pay for the web server). Jump to Resources What is the temperature outside? When someone asks what […]
WordPress Shortcode WP_Query
When doing development, I sometimes find I need a custom shortcode which performs a WP_Query. To reduce the load time of this shortcode, you can cache the result using a transient. Sometimes developers choose to cache the query result and generate the markup each time the shortcode is called. I prefer to cache the final […]