|
@@ 58-69 (lines=12) @@
|
| 55 |
|
} |
| 56 |
|
add_filter( 'jetpack_learn_more_button_gravatar-hovercards', 'grofiles_load_more_link' ); |
| 57 |
|
|
| 58 |
|
function grofiles_more_info() { ?> |
| 59 |
|
<div class="jp-info-img"> |
| 60 |
|
<a href="http://blog.gravatar.com/2010/10/06/gravatar-hovercards-on-wordpress-com/"> |
| 61 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/hovercards.jpg' ) ?>" alt="<?php esc_attr_e( 'Gravatar Hovercard', 'jetpack' ) ?>" width="300" height="150" /> |
| 62 |
|
</a> |
| 63 |
|
</div> |
| 64 |
|
|
| 65 |
|
<h5><?php esc_html_e( "What’s a Hovercard?", 'jetpack' ) ?></h5> |
| 66 |
|
<p><?php esc_html_e( 'Hovercards enhance plain Gravatar images with information about a person: name, bio, pictures, their contact info, and other services.', 'jetpack' ); ?></p> |
| 67 |
|
<p><?php esc_html_e( 'To see hovercards, look at any blog post on your blog that has comments. If the commenter has a hovercard associated with their gravatar, mouse over their image and the hovercard will appear. To turn hovercards off, click the Deactivate button above.', 'jetpack' ); ?></p> |
| 68 |
|
<?php |
| 69 |
|
} |
| 70 |
|
add_action( 'jetpack_module_more_info_gravatar-hovercards', 'grofiles_more_info' ); |
| 71 |
|
|
| 72 |
|
/** |
|
@@ 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 |
|
/** |
|
@@ 208-218 (lines=11) @@
|
| 205 |
|
} |
| 206 |
|
add_filter( 'jetpack_learn_more_button_notes', 'notes_load_more_link' ); |
| 207 |
|
|
| 208 |
|
function notes_more_info() { ?> |
| 209 |
|
<div class="jp-info-img"> |
| 210 |
|
<a href="http://support.wordpress.com/notifications/"> |
| 211 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/notes.jpg' ) ?>" alt="<?php esc_attr_e( 'Notifications', 'jetpack' ) ?>" width="300" height="150" /> |
| 212 |
|
</a> |
| 213 |
|
</div> |
| 214 |
|
|
| 215 |
|
<p><?php esc_html_e( 'Keep up with the latest happenings on all your WordPress sites and interact with other WordPress.com users.', 'jetpack' ) ?></p> |
| 216 |
|
<p><?php printf( __( 'You can view your notifications in the Toolbar and <a href="%s">on WordPress.com</a>.', 'jetpack' ), 'http://wordpress.com/#!/notifications/' ); ?></p> |
| 217 |
|
<?php |
| 218 |
|
} |
| 219 |
|
add_filter( 'jetpack_module_more_info_notes', 'notes_more_info' ); |
| 220 |
|
|
| 221 |
|
/** |
|
@@ 447-460 (lines=14) @@
|
| 444 |
|
} |
| 445 |
|
add_action( 'jetpack_learn_more_button_comments', 'jetpack_comments_learn_more_button' ); |
| 446 |
|
|
| 447 |
|
function jetpack_comments_more_info() { |
| 448 |
|
?> |
| 449 |
|
<div class="jp-info-img"> |
| 450 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/comments.jpg' ) ?>" alt="<?php esc_attr_e( 'Comments Screenshot', 'jetpack' ) ?>" width="300" height="150" /> |
| 451 |
|
</div> |
| 452 |
|
|
| 453 |
|
<p><?php esc_html_e( 'Comments enables your visitors to use their WordPress.com, Twitter, or Facebook accounts when commenting on your site.', 'jetpack' ); ?></p> |
| 454 |
|
|
| 455 |
|
<p><?php printf( |
| 456 |
|
__( "Jetpack tries to match your site's color scheme automatically, but you can make manual adjustments at the bottom of the <a href='%s'>Discussion Settings</a> page.", 'jetpack' ), |
| 457 |
|
admin_url( 'options-discussion.php#jetpack-comments-settings' ) |
| 458 |
|
); ?></p> |
| 459 |
|
<?php |
| 460 |
|
} |
| 461 |
|
add_action( 'jetpack_module_more_info_comments', 'jetpack_comments_more_info' ); |
| 462 |
|
|
| 463 |
|
/** |
|
@@ 490-498 (lines=9) @@
|
| 487 |
|
} |
| 488 |
|
add_action( 'jetpack_learn_more_button_custom-css', 'jetpack_custom_css_more_button' ); |
| 489 |
|
|
| 490 |
|
function jetpack_custom_css_more_info() { ?> |
| 491 |
|
<div class="jp-info-img"> |
| 492 |
|
<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" /> |
| 493 |
|
</div> |
| 494 |
|
|
| 495 |
|
<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> |
| 496 |
|
<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> |
| 497 |
|
<?php |
| 498 |
|
} |
| 499 |
|
add_action( 'jetpack_module_more_info_custom-css', 'jetpack_custom_css_more_info' ); |
| 500 |
|
|
| 501 |
|
/** |
|
@@ 509-518 (lines=10) @@
|
| 506 |
|
} |
| 507 |
|
add_action( 'jetpack_learn_more_button_minileven', 'jetpack_minileven_more_button' ); |
| 508 |
|
|
| 509 |
|
function jetpack_minileven_more_info() { ?> |
| 510 |
|
<div class="jp-info-img"> |
| 511 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/mobile-theme.jpg' ) ?>" alt="<?php esc_attr_e( 'Mobile Theme', 'jetpack' ) ?>" width="300" height="150" /> |
| 512 |
|
</div> |
| 513 |
|
|
| 514 |
|
<p><?php esc_html_e( "There's a good chance that visitors to your site will be using a smartphone, and it's important to provide them with a great reading experience while on the small screen.", 'jetpack' ); ?></p> |
| 515 |
|
<p><?php esc_html_e( "Jetpack's mobile theme is optimized for small screens. It uses the header image, background, and widgets from your current theme for a great custom look. Post format support is included, so your photos and galleries will look fantastic on a smartphone.", 'jetpack' ); ?></p> |
| 516 |
|
<p><?php esc_html_e( 'Visitors on iPhone, Android, Windows Phone, and other mobile devices will automatically see the mobile theme, with the option to view the full site. You can enable or disable the mobile theme by clicking the "Activate" or "Deactive" button above.', 'jetpack' ); ?></p> |
| 517 |
|
<?php |
| 518 |
|
} |
| 519 |
|
add_action( 'jetpack_module_more_info_minileven', 'jetpack_minileven_more_info' ); |
| 520 |
|
|
| 521 |
|
/** |
|
@@ 608-617 (lines=10) @@
|
| 605 |
|
} |
| 606 |
|
add_action( 'jetpack_learn_more_button_tiled-gallery', 'jetpack_tiled_gallery_more_link' ); |
| 607 |
|
|
| 608 |
|
function jetpack_tiled_gallery_more_info() { ?> |
| 609 |
|
<div class="jp-info-img"> |
| 610 |
|
<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" /> |
| 611 |
|
</div> |
| 612 |
|
|
| 613 |
|
<p><?php esc_html_e( 'Create elegant magazine-style mosaic layouts for your photos without having to use an external graphic editor.', 'jetpack' ); ?></p> |
| 614 |
|
<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> |
| 615 |
|
<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> |
| 616 |
|
<?php |
| 617 |
|
} |
| 618 |
|
add_action( 'jetpack_module_more_info_tiled-gallery', 'jetpack_tiled_gallery_more_info' ); |
| 619 |
|
|
| 620 |
|
/** |
|
@@ 847-857 (lines=11) @@
|
| 844 |
|
} |
| 845 |
|
add_action( 'jetpack_learn_more_button_site-icon', 'jetpack_site_icon_more_link' ); |
| 846 |
|
|
| 847 |
|
function jetpack_custom_site_icon() { ?> |
| 848 |
|
|
| 849 |
|
<div class="jp-info-img"> |
| 850 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/site-icon.png' ) ?>" alt="<?php esc_attr_e( 'Site Icon', 'jetpack' ) ?>" width="300" height="150" /> |
| 851 |
|
</div> |
| 852 |
|
|
| 853 |
|
<p><?php esc_html_e( 'Site Icon lets you create an icon for your site. This icon will be used as favicon, mobile icon, and Tile on Windows 8 computers.', 'jetpack' ); ?></p> |
| 854 |
|
<p><?php printf( __( 'To add a new icon to your site, head over to <a href="%s">Settings → General → Site Icon</a>, and upload an icon.', 'jetpack' ), admin_url( 'options-general.php#site-icon' ) ); ?></p> |
| 855 |
|
|
| 856 |
|
<?php |
| 857 |
|
} |
| 858 |
|
add_action( 'jetpack_module_more_info_site-icon', 'jetpack_custom_site_icon' ); |
| 859 |
|
|
| 860 |
|
/** |