New section on Twitter Embeds on the about page. props georgestephanis, chexee, azaozz, SergeyBiryukov, jane. fixes #20796.

git-svn-id: http://core.svn.wordpress.org/trunk@20977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-06-02 01:16:35 +00:00
parent ed56952d90
commit f3526bbbdd
8 changed files with 62 additions and 13 deletions

View File

@ -52,9 +52,11 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<div class="feature-section">
<h4><?php _e( 'Flexible Sizes' ); ?></h4>
<p><?php _e( 'You can decide for yourself how tall or wide your custom header image should be. From now on, themes will provide a recommended image size for custom headers rather than a fixed requirement. Note: this feature requires <a href="http://codex.wordpress.org/Custom_Headers">theme support</a>.' ); ?></p>
<img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-1.png' ) ); ?>" class="image-30" />
<img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-2.png' ) ); ?>" class="image-30" />
<img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-3.png' ) ); ?>" class="image-30" />
<div class="three-col-images">
<img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-1.png' ) ); ?>" class="image-30 first-feature" />
<img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-2.png' ) ); ?>" class="image-30" />
<img src="<?php echo esc_url( admin_url( 'images/screenshots/flex-header-3.png' ) ); ?>" class="image-30 last-feature" />
</div>
</div>
<div class="feature-section images-stagger-right">
@ -64,6 +66,20 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</div>
</div>
<div class="changelog">
<h3><?php _e( 'Twitter Embeds' ); ?></h3>
<div class="feature-section images-stagger-right">
<img src="<?php echo esc_url( admin_url( 'images/screenshots/twitter-embed-1.png' ) ); ?>" class="image-30" />
<img src="<?php echo esc_url( admin_url( 'images/screenshots/twitter-embed-2.png' ) ); ?>" class="image-30" />
<h4><?php _e( 'Share Tweets with Style' ); ?></h4>
<p><?php _e( 'You can now embed individual tweets in posts. It includes action links that allow readers to reply to, retweet, and favorite the tweet without leaving your site. Just paste a tweet URL on its own line.' ); ?></p>
<p><?php printf( __( 'This works with URLs from some other sites, too. For more, see the Codex article on <a href="%s">Embeds</a>.' ), __( 'http://codex.wordpress.org/Embeds' ) ); ?></p>
</div>
</div>
<div class="changelog">
<h3><?php _e( 'Better Captions' ); ?></h3>

View File

@ -2360,11 +2360,11 @@ div.widgets-sortables,
.about-wrap .feature-section img {
background: #fff;
border-color: #dfdfdf;
border: 1px #ccc solid;
-moz-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
-webkit-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
-moz-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
-webkit-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
}
.about-wrap .point-releases {

View File

@ -1947,11 +1947,11 @@ div.widgets-sortables,
.about-wrap .feature-section img {
background: #fff;
border-color: #dfdfdf;
border: 1px #ccc solid;
-moz-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
-webkit-box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 0 6px rgba( 0, 0, 0, 0.3 );
-moz-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
-webkit-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.3 );
}
.about-wrap h4.wp-people-group {

View File

@ -439,6 +439,15 @@ table.ie-fixed {
margin: 0;
}
.about-wrap .three-col-images img {
margin: 0 0.6% 10px;
}
.about-wrap .three-col-images .last-feature,
.about-wrap .three-col-images .first-feature {
float: none;
}
/* IE6 leftovers */
* html .row-actions {
visibility: visible;

View File

@ -1403,6 +1403,14 @@ h2 .nav-tab {
margin-right: 3em;
}
.about-wrap .three-col-images .last-feature {
float: left;
}
.about-wrap .three-col-images .first-feature {
float: right;
}
.about-wrap .feature-section.three-col div {
margin-right: 0;
margin-left: 4.999999999%;

View File

@ -5076,7 +5076,7 @@ input.button-highlighted,
.about-wrap .feature-section img {
border: none;
margin: 0 0.7% 10px 0;
margin: 0 1.94% 10px 0;
-webkit-border-radius: 3px;
border-radius: 3px;
}
@ -5086,7 +5086,7 @@ input.button-highlighted,
}
.about-wrap .feature-section img.image-30 {
max-width: 32%;
max-width: 31.2381%;
}
.ie8 .about-wrap .feature-section img {
@ -5123,6 +5123,22 @@ input.button-highlighted,
margin-right: 0;
}
.about-wrap .three-col-images {
text-align: center;
}
.about-wrap .three-col-images img {
margin: 0 0 10px;
}
.about-wrap .three-col-images .last-feature {
float: right;
}
.about-wrap .three-col-images .first-feature {
float: left;
}
.about-wrap .feature-section.images-stagger-right img {
float: right;
margin: 0 5px 12px 12px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB