|
@@ 380-389 (lines=10) @@
|
| 377 |
|
|
| 378 |
|
|
| 379 |
|
// RSS Links Widget, Image Widget, Twitter Widget |
| 380 |
|
function jetpack_widgets_more_info() { ?> |
| 381 |
|
<div class="jp-info-img"> |
| 382 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/widgets.jpg' ) ?>" alt="<?php esc_attr_e( 'Widgets Screenshot', 'jetpack' ) ?>" width="300" height="150" /> |
| 383 |
|
</div> |
| 384 |
|
|
| 385 |
|
<p><strong><?php esc_html_e( 'The RSS Links Widget ', 'jetpack' ); ?></strong> <?php esc_html_e( "allows you to add links to your blog’s post and comment RSS feeds in your sidebar. This makes it easy for your readers to stay updated when you post new content or receive new comments.", 'jetpack' ) ?></p> |
| 386 |
|
<p><strong><?php esc_html_e( 'The Twitter Widget ', 'jetpack' ); ?></strong> <?php esc_html_e( "shows your latest tweets within a sidebar on your theme. It’s an easy way to add more activity to your site. There are also a number of customization options.", 'jetpack' ) ?> <strong><?php esc_html_e( 'The Facebook Like Box Widget ', 'jetpack' ); ?></strong> <?php esc_html_e( "shows your Facebook Like Box within a sidebar on your theme. It’s a great way to let your readers show their support.", 'jetpack' ) ?> <strong><?php esc_html_e( 'The Image Widget ', 'jetpack' ); ?></strong><?php esc_html_e( "allows you to easily add images to widget areas in your theme. It’s an easy way to add more visual interest to your site.", 'jetpack' ) ?></p> |
| 387 |
|
|
| 388 |
|
<?php |
| 389 |
|
} |
| 390 |
|
add_action( 'jetpack_module_more_info_widgets', 'jetpack_widgets_more_info' ); |
| 391 |
|
|
| 392 |
|
function jetpack_widgets_more_info_connected() { ?> |
|
@@ 727-748 (lines=22) @@
|
| 724 |
|
// Tiled Galleries: STOP |
| 725 |
|
|
| 726 |
|
// Likes: START |
| 727 |
|
function jetpack_likes_more_info() { ?> |
| 728 |
|
|
| 729 |
|
<div class="jp-info-img"> |
| 730 |
|
<a href="http://jetpack.me/support/likes/"> |
| 731 |
|
<img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/images/screenshots/likes.jpg' ) ?>" alt="<?php esc_attr_e( 'Likes', 'jetpack' ) ?>" width="323" height="69" /> |
| 732 |
|
</a> |
| 733 |
|
</div> |
| 734 |
|
|
| 735 |
|
<p><?php esc_html_e( 'Likes allow your readers to show their appreciation for your posts and other published content using their WordPress.com accounts. Your readers will then be able to review their liked posts from WordPress.com.', 'jetpack' ) ?></p> |
| 736 |
|
<p><?php esc_html_e( 'Displayed below your posts will be how many people have liked your posts and the Gravatars of those who have liked them.', 'jetpack' ); ?></p> |
| 737 |
|
<?php if ( current_user_can( 'jetpack_manage_modules' ) ) : ?> |
| 738 |
|
<p><?php esc_html_e( 'You can turn Likes on by following these steps:', 'jetpack' ); ?></p> |
| 739 |
|
<ol> |
| 740 |
|
<li><?php esc_html_e( 'Make sure the module is activated by clicking on "Activate" at the bottom of this page.', 'jetpack' ); ?></li> |
| 741 |
|
<li><?php esc_html_e( 'Go to Settings > Sharing in your Dashboard.', 'jetpack' ); ?></li> |
| 742 |
|
<li><?php esc_html_e( 'Ensure that "WordPress.com Likes areā¦" is set to "On for all posts"', 'jetpack' ); ?></li> |
| 743 |
|
</ol> |
| 744 |
|
<?php endif; ?> |
| 745 |
|
<p>→ <a href="http://jetpack.me/support/likes/"><?php esc_html_e( 'More information on using Likes.', 'jetpack' ); ?></a></p> |
| 746 |
|
|
| 747 |
|
<?php |
| 748 |
|
} |
| 749 |
|
add_action( 'jetpack_module_more_info_likes', 'jetpack_likes_more_info' ); |
| 750 |
|
|
| 751 |
|
function jetpack_likes_more_link() { |