Gravity Switch, the company I work for, launched their new website today. I was really pushing as much HTML5/CSS3 as possible in the new site[1]. I even used CSS3 rotation, but as it turned out, IE8 is our biggest browser, and my boss needed these images rotated there. I knew that IE had basic rotation, which does 90°, 180°, & 270° - but I needed 2° & 3°.
Enter the Matrix Filter! - Kelly Dwan | wordpress (& etc)
Enter the Matrix Filter!
Enter the Matrix Filter!
Documentation here, with an example of 60° rotation here. Says it works from IE5.5+, & IE9 supports the CSS3 -ms-transform property. IE10 should just use transform. [source] Continue reading
Meetup Widgets 2.0
Over the weekend I released Meetup Widgets 2.0. There are very few visible changes - the only thing a casual user would probably notice is a warning if the plugin can’t detect OAuth. [OAuth is only used if you've entered your key + secret. If you have, users can RSVP for events through your site. If you haven't entered this info, users are redirected to meetup.com. So OAuth is not required for this plugin to function]
Changelog says…
* Change to using admin-ajax to process OAuth requests, rather than custom file. * Change basic code structure to work with other (in-development) meetup plugins. * Add warning message if the server does not have OAuth. * use `wp_trim_words` rather than writing something custom * pull apart a translated string somewhat
The really big changes are barely noticeable in this plugin. So why do it? I’ve developed another Meetup plugin that allows users to register & log in to your WordPress (or BuddyPress) site using their meetup.com login. I’m in the process of writing a separate post about it, & will update this one with a link.
Using Chosen + Custom Meta Boxes
Lately I’ve been using Custom Meta Boxes for use with custom post types. CMB makes programmatically adding specific custom fields to your posts very simple - as simple as filling out an array. The following example adds a WYSIWYG ‘sidebar’ field to posts, pages, and events (a custom post type):
You do need to include the CMB code, though -but that’s also easy. Just change the path to the correct location.
These snippets above came from a theme’s functions.php, though CMB can also be used in plugins (as my next example). Perhaps the above would be better if it were moved into a must-use plugin - maybe that’ll be my next improvement. In any case, as awesome as the above is, it gets better: see how in the sidebar field I say 'type' => 'wysiwyg'? There are plenty of field types to choose from, but you can also very easily create your own.
Getting to the point: creating a taxonomy field using Chosen
Meetup Widgets
A new plugin! This one I’ve been working on (& using) for a while. I co-run a WordPress meetup through a local Meetup.com group, and we wanted to have our own blog for announcements, recaps, commenting, etc. I also wanted it to have some relation back to the events on meetup.com. So we have Meetup Widgets.
This plugin creates two widgets: one a list of events from a specific meetup group (by ID or URL name); the other shows details about single event (by ID) with a link to RSVP - using OAuth if keys are specified, otherwise just a link to the event on meetup.com. Does require at least an API key (which it asks for on the settings page).
See it in action at Valley Summit Meetups. Download it in the WordPress directory.
If you want to see any other information from meetup.com pulled into widgets, let me know & I’ll see what I can do!
(Also, coming …eventually… a way of syncing buddypress users with meetup accounts.)
Post From Site 3.0
This release is a major rewrite of the plugin code. A number of features have been added, some of these include widget support, hooks for theming, the ability to have unregistered users post (using recaptcha [recommended, but not required]). More documentation at the end of this post.
Download now!
