Every month, WDS releases a bunch of goodies over on Github (and occasionally WordPress.org and elsewhere). While we typically share the links on our social media, we know that it’s easy for things to get lost in the noise, so we will be bringing you our top releases of every month. While the vast majority are on Github, we’ll sometimes also be featuring non-Github releases as well.
Catch up on last month’s releases and check out our choice releases for March 2015:
Versions 2.0.3/2.0.4/2.05 of CMB2
Version 2.0.3 had the most enhancements, including:
- New constant,
CMB2_DIR, which stores the file-path to the CMB2 directory.
text_datetime_timestamp_timezonefield types now take an arguments array so they can be extended by custom field types.
- Removed auto-scroll when adding groups.
- Updated Timepicker utilizing the @trentrichardson jQuery Timepicker add-on, and updated Datepicker styles. Props JonMasterson.
- Added a callback option for the field default value.
cmb2_get_fieldhelper function for retrieving a
CMB2_Fieldobject from the array of registered fields for a metabox.
cmb2_get_metabox_sanitized_valueshelper function for retrieving sanitized values from an array of values (usually
'save_fields'metabox property that can be used to disable (by setting
'save_fields' => false) the automatic saving of the fields when the form is submitted. These can be useful when you want to handle the saving of the fields yourself, or want to use submitted data for other purposes like generating new posts, or sending emails, etc.
If you’re interested in learning more about CMB2, Justin also recently put up a post on using CMB2 to create new post submission forms.
CMB2 Attached Posts got some updates this month, and now you can optionally display thumbnails next to the posts.
Basically, here’s how Justin described this to me:
If you were to go to a WP site to search for “ponies” and there were no ponies on the site, you’d get an empty search result page, but there’s an http status code that gets sent out (you do not see it as a browser, but bots see it), so the bot will sometimes receive a signal that says that ponies are there when they aren’t. This plugin prevents google/search engines seeing that your empty search results (or empty archive pages) are not so empty (and turns it into 404).
AppPresser released updates for all plugins; you can find more information about that here.
Did any of you out there use any of these this month? Did you see other Github releases that tickled your fancy? Link us up in the comments!