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. View Slide

  2. WordPress 3.6
    What's new for end users & developers

    View Slide

  3. Seth Rubenstein
    Senior WordPress Developer
    Advantage Media Group
    http://sethrubenstein.info
    @sethrubenstein

    View Slide

  4. 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

    View Slide

  5. New Post Formats UI
    Much easier to use.
    Much easier to develop for.
    No longer an afterthought.

    View Slide

  6. Post formats in 3.5... not good

    View Slide

  7. New Post Formats Screen

    View Slide

  8. 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

    View Slide

  9. Post Locking
    You'll never have to worry about erasing the
    work of someone else.

    View Slide

  10. New Menus

    View Slide

  11. Post Revisions
    Easier to understand post revisions.
    Now the author's avatar appears in the
    revisions box.

    View Slide

  12. 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();

    View Slide

  13. 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.

    View Slide

  14. 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.

    View Slide

  15. WordPress 3.7

    View Slide

  16. View Slide

  17. View Slide