WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/27/2017 03:03:08 PM (2 years ago)
Author:
melchoyce
Message:

About: Introduce design and add link to Media Widgets API dev note.

Props: ryelle rclations melchoyce westonruter.
See #40721.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r40841 r40849  
    4545
    4646        <div class="feature-section one-col">
    47             <h2><?php _e( 'An Update with You in Mind' ); ?></h2>
    48             <p class="lead-description"><?php _e( 'WordPress 4.8 adds some great new features &mdash; gear up for a more intuitive WordPress!' ); ?></p>
    49             <p><?php _e( 'Though some updates are tiny (TinyMCE, that is &mdash; see what we did there?) they&#8217;ve been developed by hundreds of Core Contributors and Committers with <em>you</em> in mind.' ); ?></p>
    50             <p><?php _e( 'Get ready for new features you&#8217;ll welcome like an old friend: link improvements, <em>three</em> new media widgets covering images, audio, and video, an updated text widget that supports visual editing, and an upgraded news section in your dashboard which brings in nearby and upcoming WordPress events.' ); ?></p>
     47            <div class="col">
     48                <h2><?php _e( 'An Update with You in Mind' ); ?></h2>
     49                <p class="lead-description"><?php _e( 'WordPress 4.8 adds some great new features &mdash; gear up for a more intuitive WordPress!' ); ?></p>
     50                <p><?php _e( 'Though some updates are tiny (TinyMCE, that is &mdash; see what we did there?) they&#8217;ve been developed by hundreds of Core Contributors and Committers with <em>you</em> in mind.' ); ?></p>
     51                <p><?php _e( 'Get ready for new features you&#8217;ll welcome like an old friend: link improvements, <em>three</em> new media widgets covering images, audio, and video, an updated text widget that supports visual editing, and an upgraded news section in your dashboard which brings in nearby and upcoming WordPress events.' ); ?></p>
     52            </div>
    5153        </div>
    5254
     
    5456
    5557        <h2><?php _e( 'Exciting Widget Updates' ); ?></h2>
     58
     59        <div class="headline-feature one-col">
     60            <div class="col">
     61                <picture>
     62                    <!-- Large image -->
     63                    <source media="(min-width: 1050px)" srcset="https://cldup.com/-951havc3C.png" />
     64                    <!-- Medium image -->
     65                    <source media="(min-width: 601px)" srcset="https://cldup.com/60ktdYzv0l.png" />
     66                    <!-- Small image -->
     67                    <img src="https://cldup.com/mwvU0Zi5wW.png" alt="" />
     68                </picture>
     69            </div>
     70        </div>
     71
    5672        <div class="feature-section two-col">
    5773            <div class="col">
    58                 <div style="height:254px;width:480px;background:black;"></div>
    5974                <h3><?php _e( 'Image Widget' ); ?></h3>
    6075                <p><?php _e( 'Adding an image to a widget is now a simple task that is achievable for any WordPress user without hiring a developer. (Don&#8217;t tell them we told you that.) Simply insert your image right within the widget settings &mdash; try adding a headshot and brief bio &mdash; and see it appear, automatically.' );?></p>
    6176            </div>
    6277            <div class="col">
    63                 <div style="height:254px;width:480px;background:black;"></div>
    6478                <h3><?php _e( 'Video Widget' ); ?></h3>
    6579                <p><?php _e( 'A welcome video is a great way to humanize the branding of your website. It creates trust and empathy in your visitors. You can now add any video from your Media Library to a sidebar on your site with the new Video Widget. So, you, too, can be liked and trusted instantly.' ); ?></p>
    6680            </div>
    67         </div>
    68 
    69         <div class="feature-section two-col">
    70             <div class="col">
    71                 <div style="height:254px;width:480px;background:black;"></div>
     81            <div class="col">
    7282                <h3><?php _e( 'Audio Widget' ); ?></h3>
    7383                <p><?php _e( 'Are you a podcaster or musician? Adding a widget with your audio file has never been easier. Upload your audio file to the media library, go to the widget settings, select your file, and you&#8217;re done. This would be a great way to add a more intimate welcome message, too!' );?></p>
    7484            </div>
    7585            <div class="col">
    76                 <div style="height:254px;width:480px;background:black;"></div>
    7786                <h3><?php _e( 'Rich Text Widget' ); ?></h3>
    7887                <p><?php _e( 'This feature deserves a ticker-tape parade down Main Street. Rich-text editing capabilities are now native for text widgets. Simply, add a widget anywhere and format away. Create lists, add emphasis with bold or italics, and easily insert links. Have fun with your new-found formatting powers, but try to use them for good!' ); ?></p>
     
    91100                echo wp_video_shortcode( array(
    92101                    'mp4'      => 'https://s.w.org/images/core/4.7/starter-content-v1.mp4',
    93                     'poster'   => 'https://s.w.org/images/core/4.7/starter-content.jpg?v2',
     102                    'poster'   => 'https://cldup.com/ZS8FEi0AE9.png',
    94103                    'width'    => 1140,
    95104                    'height'   => 624,
     
    103112
    104113        <div class="feature-section two-col">
    105             <div class="col" style="height:254px;width:480px;background:black;"></div>
    106114            <div class="col">
    107115                <h3><?php _e( 'Nearby WordPress Events' ); ?></h3>
     
    110118
    111119                <p><?php _e( 'Being part of the community can help you improve your WordPress skills and network with people you wouldn&#8217;t otherwise meet. Now you can easily find your local events just by logging in to your dashboard.' ); ?>
     120            </div>
     121            <div class="col">
     122                <img src="https://cldup.com/GuISab3_X1.png" alt="" />
    112123            </div>
    113124        </div>
     
    137148                    <p><?php _e( 'New capabilities checks have been added to 4.8 with an eye towards removing calls to <code>is_super_admin()</code>. Additionally, new hooks, network-specific site functions, and user count controls have been added.' ); ?></p>
    138149                </div>
    139             </div>
    140 
    141             <div class="under-the-hood three-col">
    142150                <div class="col">
    143151                    <h3><a href="https://make.wordpress.org/core/2017/05/23/addition-of-tinymce-to-the-text-widget/"><?php _e( 'Text-Editor JavaScript API' ); ?></a></h3>
     
    145153                </div>
    146154                <div class="col">
    147                     <h3><?php _e( 'Media Widgets API' ); ?></h3>
     155                    <h3><a href="https://make.wordpress.org/core/2017/05/26/media-widgets-for-images-video-and-audio/"><?php _e( 'Media Widgets API' ); ?></a></h3>
    148156                    <p><?php _e( 'The introduction of a new base media widget REST API schema to 4.8 opens up possibilities for more media widgets (such as galleries or playlists) in the future. The three new media widgets are powered by a shared base class that covers most of the interactions with the media modal. That class also makes it easier to create new media widgets and paves the way for more to come.' ); ?></p>
    149157                </div>
Note: See TracChangeset for help on using the changeset viewer.