Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A Look at WordPress 3.6

A Look at WordPress 3.6

Seth Rubenstein's presentation on the new features coming for WordPress 3.6

More Decks by WordPress Charleston User Group

Other Decks in Technology

Transcript

  1. What's New? For Users: • Post Formats • Audio/Video Support

    • Autosave • Post Locking • Nav Menu • Revisions For Developers • Better/Easier Post Format Templating • Audio/Video Support in Core • Better Shortcode Support
  2. New Post Formats UI Much easier to use. Much easier

    to develop for. No longer an afterthought.
  3. WordPress now has in its core MediaElement. js • [video

    src="video-source.mp4"] • [video width="600" height="480" mp4="source.mp4" ogv="source.ogv" webm="source.webm"] • [audio src="audio-source.mp3"] • [audio mp3="source.mp3" ogg="source.ogg" wav=" source.wav"] BUT there are also filters so you can drop any url to a media file. Audio/Video Support
  4. New Theme Functions The new post format media functions are

    very easy to use. No more creating custom fields. the_post_format_audio(); the_post_format_video(); the_post_format_image();
  5. The_Remaining_Content the_content(); will now display your text content as well

    as the post formats media. the_remaining_content(); will display only the text content.
  6. Shortcode_Atts_{$Shortcode} • Override the default shortcode attributes • Ignore certain

    attribute values from the user and instead use the defaults • Generally modify the behavior of a shortcode without modifying the original shortcode function. For example: You could add a copyright to all image captions from the Gallery shortcode.