Swag

HTML5 Galleries in WordPress 3.9

With the new release of WordPress will come the ability to declare support for HTML5 markup in galleries. Once a theme declared support, the definition list elements will be replaced by <figure> and <figcaption> for better semantics.

If you decide to not only adopt this new feature but also maintain backwards compatibility, then there are two ways to achieve that:

  1. Style not only the new HTML5 elements, but also add CSS selectors for the traditional definition list elements. This is the route we chose for _s to keep it as simple as possible.
  2. Filter the shortcode attributes and override the tag parameters. Since the shortcode_atts_gallery filter was introduced in 3.6, you’ll be backwards compatible with the latest two versions.

Continue reading

New Default WordPress Theme Twenty Twelve Hits Core for 3.4

Speaking of WordPress Themes in 2012, the new WordPress default theme for this year is in da hizzous.

For the 3.4 release cycle the core WordPress team is trying something new: assigning small teams to tackle various parts of the release. The Twenty Twelve team is Matt Mullenweg (Holder of the Keys and Grand Master Themengineer), Drew Strojny (Designer and Minimalist), and Lance Willett (Thematurge).

Want to keep tabs on this new default WordPress theme? Follow development updates on WordPress Development Updates and in Trac: Twenty Twelve ticket and Bundled Themes.

We’re super excited to see it land in WordPress trunk and start taking shape.