Creative Filtering in “WP WooCommerce Mailchimp” Plugin
I’ve went on and on about “well-built” plugins for WordPress. As much as I’d like plugins to “filter all the things”, in reality, they never account for all use cases. One such challenge I had recently involved the WP WooCommerce Mailchimp plugin.
Local WordPress Development – How To Sync Content From Staging or Production
Given that WordPress is still growing3WP is about a third of the web now, as of April 2019, there’s no shortage of work for proper WordPress developers. In my case, work comes from several sources, all of it freelance. The vast majority of work I do is retainer. Agencies/companies need me to come into a sprint, usually for the stuff that’s a bit too much for juniors.
Since every project is different, the workflow is usually unique as well. Unless I’m involved with the engineering at project kick-off, I usually have to adapt to what’s been put in place by other developers. Typically that means writing custom shell scripts and aliases to help sync both code and content.
Here’s another forms use-case for WordPress. You have a form built with Contact Form 7, WP Forms, Gravity Forms, etc. However, when the form is submitted, you also want to send the form data to a third party, like Salesforce, SugarCRM, Marketo, etc. Luckily, the form plugins I mentioned allow us to “hook in” to the processing flow.
In this tutorial, I’ll show you a quick way to send Contact Form 7(CF7) submission data to Salesforce. We’ll be using some core WordPress functions to help with the integration. The code is pretty straightforward, so we’ll just put it in our child theme’s8You are using a child theme, right? functions.php file.
In this month’s edition of “well-built plugins”, we’re taking a look at Contact Form 7 for WordPress. Specifically, we’ll be customizing validation error messages on the front end. The popular contact form builder plugin is quite easy to extend, so let’s jump right in.
Extending well-built WordPress plugins and themes is something I do almost daily. Gravity Forms is a popular form-building plugin for WordPress that I integrate and customize quite frequently. Custom form fields, form settings, and third-party integrations are common requests.
Recently, I had to find a way to handle custom, dynamic redirects on form submission. The redirect would be dependent on query string parameters provided by an inbound affiliate link. I was able to quickly create a solution due, in no small part, to the fact that Gravity Forms is a “well-built” plugin.14A “well-built” third-party plugin/theme means that it adheres to WordPress Coding Standards and makes APIs/hooks available to other developers for extending the base functionality, among other things.
As WordPress continues its march towards the Gutenberg-focused version 5.0, today it released an intermediate update. Version 4.9.2 is pretty standard fare for a “dot” release, resolving an XSS vulnerability in the MediaElement library and 21 bug fixes. Per usual, make sure your installation is updated as soon as possible. If you need help, please contact me.
The bug fixes include enhanced browser compatibility, styling issues, and enabling MySQLi16Finally. Using MySQLi by default has been a long time coming. by default.
With the seriousness of the release out of the way, I’d like to discuss a bit of comic relief embedded in on the the Trac tickets resolved in this release.