|
@@ 136-147 (lines=12) @@
|
| 133 |
|
} |
| 134 |
|
add_filter( 'jetpack_learn_more_button_shortlinks', 'wpme_load_more_link' ); |
| 135 |
|
|
| 136 |
|
function wpme_more_info() { ?> |
| 137 |
|
<div class="jp-info-img"> |
| 138 |
|
<a href="http://wp.me/sf2B5-shorten"> |
| 139 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/shortlinks.jpg' ) ?>" alt="<?php esc_attr_e( 'WP.me Shortlinks', 'jetpack' ) ?>" width="300" height="150" /> |
| 140 |
|
</a> |
| 141 |
|
</div> |
| 142 |
|
|
| 143 |
|
<p><?php esc_html_e( "Instead of typing or copy-pasting long URLs, you can now get a short and simple link to your posts and pages. This uses the super compact wp.me domain name, and gives you a unique URL you can use that will be safe and reliable.", 'jetpack' ) ?></p> |
| 144 |
|
<p><?php esc_html_e( "It’s perfect for use on Twitter, Facebook, and cell phone text messages where every character counts.", 'jetpack' ) ?></p> |
| 145 |
|
<p><?php esc_html_e( "To use shortlinks, go to any already published post (or publish something new!). A “Get Shortlink” button will be visible under the Post title. When you click it, a dialog box will appear with the shortlink and you can copy and paste to Twitter, Facebook or wherever your heart desires.", 'jetpack' ) ?></p> |
| 146 |
|
<?php |
| 147 |
|
} |
| 148 |
|
add_action( 'jetpack_module_more_info_shortlinks', 'wpme_more_info' ); |
| 149 |
|
|
| 150 |
|
/** |
|
@@ 158-168 (lines=11) @@
|
| 155 |
|
} |
| 156 |
|
add_filter( 'jetpack_learn_more_button_stats', 'stats_load_more_link' ); |
| 157 |
|
|
| 158 |
|
function stats_more_info() { ?> |
| 159 |
|
<div class="jp-info-img"> |
| 160 |
|
<a href="http://en.support.wordpress.com/stats/"> |
| 161 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/stats.jpg' ) ?>" alt="<?php esc_attr_e( 'Site Stats', 'jetpack' ) ?>" width="300" height="150" /> |
| 162 |
|
</a> |
| 163 |
|
</div> |
| 164 |
|
|
| 165 |
|
<p><?php esc_html_e( 'There are many plugins and services that provide statistics, but data can be overwhelming. Site Stats makes the most popular metrics easy to understand through a clear and attractive interface.', 'jetpack' ) ?></p> |
| 166 |
|
<p><?php printf( __( 'You can <a href="%s">view your stats dashboard here</a>.', 'jetpack' ), admin_url( 'admin.php?page=stats' ) ); ?></p> |
| 167 |
|
<?php |
| 168 |
|
} |
| 169 |
|
add_action( 'jetpack_module_more_info_stats', 'stats_more_info' ); |
| 170 |
|
|
| 171 |
|
/** |
|
@@ 493-509 (lines=17) @@
|
| 490 |
|
} |
| 491 |
|
add_action( 'jetpack_learn_more_button_custom-css', 'jetpack_custom_css_more_button' ); |
| 492 |
|
|
| 493 |
|
function jetpack_custom_css_more_info() { ?> |
| 494 |
|
<div class="jp-info-img"> |
| 495 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/custom-css.jpg' ) ?>" alt="<?php esc_attr_e( 'Custom CSS', 'jetpack' ) ?>" width="300" height="150" /> |
| 496 |
|
</div> |
| 497 |
|
|
| 498 |
|
<p><?php esc_html_e( "The Custom CSS editor gives you the ability to add to or replace your theme's CSS, all while supplying syntax coloring, auto-indentation, and immediate feedback on the validity of the CSS you're writing.", 'jetpack' ); ?></p> |
| 499 |
|
|
| 500 |
|
<?php if ( Jetpack::is_module_active( 'custom-css' ) ) : ?> |
| 501 |
|
|
| 502 |
|
<p><?php printf( __( 'To use the CSS editor, go to Appearance → <a href="%s">Edit CSS</a>.', 'jetpack' ), admin_url( 'themes.php?page=editcss' ) ); ?></p> |
| 503 |
|
|
| 504 |
|
<?php else : ?> |
| 505 |
|
|
| 506 |
|
<p><?php esc_html_e( 'After activating this module, find the editor in Appearance → Edit CSS.', 'jetpack' ); ?></p> |
| 507 |
|
|
| 508 |
|
<?php endif; |
| 509 |
|
} |
| 510 |
|
add_action( 'jetpack_module_more_info_custom-css', 'jetpack_custom_css_more_info' ); |
| 511 |
|
|
| 512 |
|
/** |
|
@@ 582-594 (lines=13) @@
|
| 579 |
|
} |
| 580 |
|
add_action( 'jetpack_learn_more_button_post-by-email', 'jetpack_post_by_email_more_link' ); |
| 581 |
|
|
| 582 |
|
function jetpack_post_by_email_more_info() { ?> |
| 583 |
|
<div class="jp-info-img"> |
| 584 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/post-by-email.jpg' ) ?>" alt="<?php esc_attr_e( 'Post by Email', 'jetpack' ) ?>" width="300" height="115" /> |
| 585 |
|
</div> |
| 586 |
|
|
| 587 |
|
<p><?php esc_html_e( 'Post by Email is a way of publishing posts on your blog by email. Any email client can be used to send the email, allowing you to publish quickly and easily from devices such as cell phones.', 'jetpack' ); ?></p> |
| 588 |
|
|
| 589 |
|
<p><?php printf( __( 'Manage your Post By Email address from your <a href="%s">profile settings</a>.', 'jetpack' ), esc_url( get_edit_profile_url( get_current_user_id() ) . '#post-by-email' ) ); ?> |
| 590 |
|
|
| 591 |
|
<p>→ <a href="http://jetpack.me/support/post-by-email/"><?php esc_html_e( 'More information on sending emails, attachments, and customizing your posts.', 'jetpack' ); ?></a></p> |
| 592 |
|
|
| 593 |
|
<?php |
| 594 |
|
} |
| 595 |
|
add_action( 'jetpack_module_more_info_post-by-email', 'jetpack_post_by_email_more_info' ); |
| 596 |
|
|
| 597 |
|
/** |
|
@@ 619-628 (lines=10) @@
|
| 616 |
|
} |
| 617 |
|
add_action( 'jetpack_learn_more_button_tiled-gallery', 'jetpack_tiled_gallery_more_link' ); |
| 618 |
|
|
| 619 |
|
function jetpack_tiled_gallery_more_info() { ?> |
| 620 |
|
<div class="jp-info-img"> |
| 621 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/tiled-gallery.jpg' ) ?>" alt="<?php esc_attr_e( 'Tiled Galleries', 'jetpack' ) ?>" width="300" height="150" /> |
| 622 |
|
</div> |
| 623 |
|
|
| 624 |
|
<p><?php esc_html_e( 'Create elegant magazine-style mosaic layouts for your photos without having to use an external graphic editor.', 'jetpack' ); ?></p> |
| 625 |
|
<p><?php printf( __( 'When adding a gallery to your post, you now have the option to select a layout style for your images. We\'ve added support for Rectangular, Square, and Circular galleries. By default, galleries will continue to display using the standard thumbnail grid layout. To make the rectangular layout the default for all of your site\'s galleries, head over to <a href="%s">Settings → Media</a> and check the box next to "Display all your gallery pictures in a cool mosaic."', 'jetpack' ), admin_url( 'options-media.php' ) ); ?></p> |
| 626 |
|
<p><em><?php esc_html_e( 'Note: Images in tiled galleries require extra-special processing, so they will be served from WordPress.com\'s CDN even if the Photon module is disabled.', 'jetpack' ); ?></em></p> |
| 627 |
|
<?php |
| 628 |
|
} |
| 629 |
|
add_action( 'jetpack_module_more_info_tiled-gallery', 'jetpack_tiled_gallery_more_info' ); |
| 630 |
|
|
| 631 |
|
/** |