Latest Posts
-
Migrating a GravityView Without Losing Fields
Exporting a GravityView and importing it into a different site is easy, and there are official instructions right here. This process works very smoothly when the Gravity Forms and GravityViews…
-
Sometimes, an array is passed to the get_callback provided to register_rest_field() instead of an object
When using register_rest_field() to add fields to terms in the WordPress REST API, the $object sent to your get_callback function will be an array instead of an object like the…
-
How to add an additional webhook to an Elementor Form
Elementor Pro includes a form builder widget, complete with a webhook to which all form data can be sent and a redirect URL to send users after successful submissions. I…
-
Lititz Homebrewer’s Cooperative
A logo for the local homebrew club. Join our mailing list at brew.lititz.beer.
-
WordPress REST API returns 500 error when updating serialized meta with an unchanged value
Take care when updating posts via the WordPress REST API to not send unchanged serialized meta values. The entire update will fail and return a 500 error. The JSON response…
-
Setting post_parent with the WordPress REST API
WordPress 4.9.4 does not support the post_parent attribute in the REST API, so I wrote a plugin that does. Download here: https://github.com/csalzano/wp-api-add-post-parent Someday, WordPress core will allow the manipulation of the…
-
Mitel 5000 Phone Administration Notes
The company where I work migrated to a new phone provider, and I am publishing the notes I’ve taken over the last few years before I delete them. Most of…
-
The Lancaster Beacon
I made this icon for a twitter account I started a while ago, @LancasterBeacon. News, culture & events in and around Lancaster, Pennsylvania. Follow @LancasterBeacon
-
Spinners and loading animations built into WooCommerce
WooCommerce is a big plugin that ships with several JavaScript loading animations. There is no reason to roll your own when you need one. This week, I am hacking on…
-
Thickbox.js: a modal API hidden in WordPress core
Yesterday, I needed to create a modal, but I didn’t want to create a modal. “Surely, this is already in WordPress.”Corey Salzano So, I went looking for a modal in…
-
How to find WordPress theme’s stylesheet handle
A few moments ago, I wanted to append an inline style to the theme’s stylesheet from within a plugin. This requires knowing the current theme’s stylesheet handle, so here is…
-
How to fix WordPress filter robots_txt not working
WordPress provides a filter hook, robots_txt, that dynamically generates robots.txt if the file does not exist. This filter allows developers to create unique robots.txt files for each site in a…