PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 3.1.5
Jetpack – WP Security, Backup, Speed, & Growth v3.1.5
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / modules / module-info.php
module-info.php
940 lines 55.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * "Learn More" information blocks for all modules live in this file.
4 *
5 * jetpack_module_more_info_<module-slug> hooks are for pre-connection information
6 * jetpack_module_more_info_connected_<module-slug> hooks are used once the user
7 * is connected to show them links to admin panels, usage info etc.
8 */
9
10 // VaultPress (stub)
11
12 function vaultpress_jetpack_more_info() {
13 if ( function_exists( 'is_multisite' ) && is_multisite() ) {
14 $vaultpress_url = 'http://vaultpress.com/jetpack-ms/';
15 } else {
16 $vaultpress_url = 'http://vaultpress.com/jetpack/';
17 }
18 ?>
19
20 <div class="jp-info-img">
21 <a href="<?php echo $vaultpress_url?>">
22 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/vaultpress.png' ) ?>" alt="<?php esc_attr_e( 'VaultPress', 'jetpack' ) ?>" width="300" height="150" />
23 </a>
24 </div>
25
26 <?php if ( class_exists( 'VaultPress' ) || function_exists( 'vaultpress_contact_service' ) ) : ?>
27 <p><?php esc_html_e( 'Your WordPress installation is currently being protected with the world&#8217;s best security, backup, and support.', 'jetpack' ); ?></p>
28 <p><?php printf( _x( 'To check your backups, see any security alerts, or check your VaultPress Vitality, visit your %s.', 'Visit your _VaultPress_dashboard_.', 'jetpack' ), '<a href="https://dashboard.vaultpress.com/">' . esc_html__( 'VaultPress dashboard', 'jetpack' ) . '</a>' ); ?></a></p>
29 <?php else : ?>
30 <p><?php esc_html_e( 'With a monthly subscription, the VaultPress plugin will backup your site&#8217;s content, themes, and plugins in real-time, as well as perform regular security scans for common threats and attacks.', 'jetpack' ); ?></p>
31 <p><?php printf( _x( 'View %s.', 'View _Plans_&_Pricing_. (VaultPress)', 'jetpack' ), '<a href="' . $vaultpress_url . '">' . esc_html__( 'Plans & Pricing', 'jetpack' ) . '</a>' ); ?></a></p>
32 <?php endif;
33 }
34 add_action( 'jetpack_module_more_info_vaultpress', 'vaultpress_jetpack_more_info' );
35 add_action( 'jetpack_module_more_info_connected_vaultpress', 'vaultpress_jetpack_more_info' );
36
37 function vaultpress_jetpack_load_more_link() {
38 if ( function_exists( 'is_multisite' ) && is_multisite() ) {
39 $vaultpress_url = 'http://vaultpress.com/jetpack-ms/';
40 } else {
41 $vaultpress_url = 'http://vaultpress.com/jetpack/';
42 }
43
44 echo '<a class="button-secondary more-info-link" href="' . $vaultpress_url . '">' . __( "Learn More", 'jetpack' ) . '</a>';
45 }
46 add_filter( 'jetpack_learn_more_button_vaultpress', 'vaultpress_jetpack_load_more_link' );
47
48 // Gravatar Hovercards
49 function grofiles_more_info() { ?>
50 <div class="jp-info-img">
51 <a href="http://blog.gravatar.com/2010/10/06/gravatar-hovercards-on-wordpress-com/">
52 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/hovercards.png' ) ?>" alt="<?php esc_attr_e( 'Gravatar Hovercard', 'jetpack' ) ?>" width="300" height="150" />
53 </a>
54 </div>
55
56 <h5><?php esc_html_e( "What&#8217;s a Hovercard?", 'jetpack' ) ?></h5>
57 <p><?php esc_html_e( 'Hovercards enhance plain Gravatar images with information about a person: name, bio, pictures, their contact info, and other services they use on the web like Twitter, Facebook, or LinkedIn.', 'jetpack' ); ?></p>
58 <p><?php esc_html_e( 'Hovercards offer a great way to show your internet presence and help people find your own blog.', 'jetpack' ); ?></p>
59 <?php
60 }
61 add_action( 'jetpack_module_more_info_gravatar-hovercards', 'grofiles_more_info' );
62
63 function grofiles_more_info_connected() { ?>
64 <div class="jp-info-img">
65 <a href="http://blog.gravatar.com/2010/10/06/gravatar-hovercards-on-wordpress-com/">
66 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/hovercards.png' ) ?>" alt="<?php esc_attr_e( 'Gravatar Hovercard', 'jetpack' ) ?>" width="300" height="150" />
67 </a>
68 </div>
69
70 <h5><?php esc_html_e( "What&#8217;s a Hovercard?", 'jetpack' ) ?></h5>
71 <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>
72 <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>
73 <?php
74 }
75 add_action( 'jetpack_module_more_info_connected_gravatar-hovercards', 'grofiles_more_info_connected' );
76
77 function grofiles_load_more_link() {
78 echo '<a class="button-secondary more-info-link" href="http://blog.gravatar.com/2010/10/06/gravatar-hovercards-on-wordpress-com/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
79 }
80 add_filter( 'jetpack_learn_more_button_gravatar-hovercards', 'grofiles_load_more_link' );
81
82
83 // Shortcodes
84 function jetpack_shortcodes_more_info() { ?>
85 <div class="jp-info-img">
86 <a href="http://en.support.wordpress.com/shortcodes/">
87 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/shortcodes.png' ) ?>" alt="<?php esc_attr_e( 'Shortcode Embeds', 'jetpack' ) ?>" width="300" height="150" />
88 </a>
89 </div>
90
91 <p><?php esc_html_e( 'Shortcodes allow you to easily and safely embed media from other places in your site. With just one simple code, you can tell WordPress to embed YouTube, Flickr, and other media.', 'jetpack' ) ?></p>
92 <?php
93 }
94 add_action( 'jetpack_module_more_info_shortcodes', 'jetpack_shortcodes_more_info' );
95
96 function jetpack_shortcodes_more_info_connected() { ?>
97 <div class="jp-info-img">
98 <a href="http://en.support.wordpress.com/shortcodes/">
99 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/shortcodes.png' ) ?>" alt="<?php esc_attr_e( 'Shortcode Embeds', 'jetpack' ) ?>" width="300" height="150" />
100 </a>
101 </div>
102
103 <p><?php esc_html_e( 'Shortcodes allow you to easily and safely embed media from other places in your site. With just one simple code, you can tell WordPress to embed YouTube, Flickr, and other media.', 'jetpack' ) ?></p>
104 <p><?php esc_html_e( 'Enter a shortcode directly into the Post/Page editor to embed media. For specific instructions follow the links below.', 'jetpack' ) ?></p>
105 <?php
106 $codes = array( 'archives' => 'http://support.wordpress.com/archives-shortcode/',
107 'audio' => 'http://support.wordpress.com/audio/',
108 'bandcamp' => 'http://en.support.wordpress.com/audio/bandcamp/',
109 'blip.tv' => 'http://support.wordpress.com/videos/bliptv/',
110 'dailymotion' => 'http://support.wordpress.com/videos/dailymotion/',
111 'facebook' => 'http://en.support.wordpress.com/facebook-integration/facebook-embeds/',
112 'flickr' => 'http://support.wordpress.com/videos/flickr-video/',
113 'googlemaps' => 'http://support.wordpress.com/google-maps/',
114 'jetpack_subscription_form' => 'http://jetpack.me/support/subscriptions/#display',
115 'polldaddy' => 'http://support.polldaddy.com/wordpress-shortcodes/',
116 'presentation' => 'http://en.support.wordpress.com/presentations/',
117 'scribd' => 'http://support.wordpress.com/scribd/',
118 'slideshare' => 'http://support.wordpress.com/slideshows/slideshare/',
119 'slideshow' => 'http://en.support.wordpress.com/slideshows/',
120 'soundcloud' => 'http://support.wordpress.com/audio/soundcloud-audio-player/',
121 'ted' => 'http://en.support.wordpress.com/videos/ted-talks/',
122 'twitter-timeline' => 'http://en.support.wordpress.com/widgets/twitter-timeline-widget/#embedding-with-a-shortcode',
123 'upcomingevents' => 'http://en.support.wordpress.com/widgets/upcoming-events/#events-list-shortcode',
124 'vimeo' => 'http://support.wordpress.com/videos/vimeo/',
125 'vine' => 'http://en.support.wordpress.com/videos/vine/',
126 'youtube' => 'http://support.wordpress.com/videos/youtube/',
127 );
128
129 $codes['wpvideo (VideoPress)'] = 'http://en.support.wordpress.com/videopress/';
130
131 $available = '';
132 foreach ( $codes as $code => $url ) {
133 $available[] = '<a href="' . $url . '" target="_blank">[' . $code . ']</a>';
134
135 }
136 ?>
137 <p><?php echo wp_sprintf( esc_html__( 'Available shortcodes are: %l.', 'jetpack' ), $available ); ?></p>
138 <?php
139 }
140 add_action( 'jetpack_module_more_info_connected_shortcodes', 'jetpack_shortcodes_more_info_connected' );
141
142 function jetpack_shortcodes_load_more_link( $description ) {
143 echo '<a class="button-secondary more-info-link" href="http://en.support.wordpress.com/shortcodes/">' . esc_html__( 'Learn More' , 'jetpack' ) . '</a>';
144 }
145 add_filter( 'jetpack_learn_more_button_shortcodes', 'jetpack_shortcodes_load_more_link' );
146
147
148 // Shortlinks
149 function wpme_more_info() { ?>
150 <div class="jp-info-img">
151 <a href="http://wp.me/sf2B5-shorten">
152 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/shortlinks.png' ) ?>" alt="<?php esc_attr_e( 'WP.me Shortlinks', 'jetpack' ) ?>" width="300" height="150" />
153 </a>
154 </div>
155
156 <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>
157 <p><?php esc_html_e( "It&#8217;s perfect for use on Twitter, Facebook, and cell phone text messages where every character counts.", 'jetpack' ) ?></p>
158 <?php
159 }
160 add_action( 'jetpack_module_more_info_shortlinks', 'wpme_more_info' );
161
162 function wpme_more_info_connected() { ?>
163 <div class="jp-info-img">
164 <a href="http://wp.me/sf2B5-shorten">
165 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/shortlinks.png' ) ?>" alt="<?php esc_attr_e( 'WP.me Shortlinks', 'jetpack' ) ?>" width="300" height="150" />
166 </a>
167 </div>
168
169 <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>
170 <p><?php esc_html_e( "To use shortlinks, go to any already published post (or publish something new!). A &#8220;Get Shortlink&#8221; 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>
171 <?php
172 }
173 add_action( 'jetpack_module_more_info_connected_shortlinks', 'wpme_more_info_connected' );
174
175 function wpme_load_more_link( $description ) {
176 echo '<a class="button-secondary more-info-link" href="http://wp.me/sf2B5-shorten">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
177 }
178 add_filter( 'jetpack_learn_more_button_shortlinks', 'wpme_load_more_link' );
179
180
181 // WordPress.com Stats
182 function stats_more_info() { ?>
183 <div class="jp-info-img">
184 <a href="http://en.support.wordpress.com/stats/">
185 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/stats.png' ) ?>" alt="<?php esc_attr_e( 'WordPress.com Stats', 'jetpack' ) ?>" width="300" height="150" />
186 </a>
187 </div>
188
189 <p><?php esc_html_e( 'There are many plugins and services that provide statistics, but data can be overwhelming. WordPress.com Stats makes the most popular metrics easy to understand through a clear and attractive interface.', 'jetpack' ) ?></p>
190 <?php
191 }
192 add_action( 'jetpack_module_more_info_stats', 'stats_more_info' );
193
194 function stats_more_info_connected() { ?>
195 <div class="jp-info-img">
196 <a href="http://en.support.wordpress.com/stats/">
197 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/stats.png' ) ?>" alt="<?php esc_attr_e( 'WordPress.com Stats', 'jetpack' ) ?>" width="300" height="150" />
198 </a>
199 </div>
200
201 <p><?php esc_html_e( 'There are many plugins and services that provide statistics, but data can be overwhelming. WordPress.com Stats makes the most popular metrics easy to understand through a clear and attractive interface.', 'jetpack' ) ?></p>
202 <p><?php printf( __( 'You can <a href="%s">view your stats dashboard here</a>.', 'jetpack' ), admin_url( 'admin.php?page=stats' ) ); ?></p>
203 <?php
204 }
205 add_action( 'jetpack_module_more_info_connected_stats', 'stats_more_info_connected' );
206
207 function stats_load_more_link( $description ) {
208 echo '<a class="button-secondary more-info-link" href="http://en.support.wordpress.com/stats/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
209 }
210 add_filter( 'jetpack_learn_more_button_stats', 'stats_load_more_link' );
211
212 // Publicize
213 function publicize_more_info() { ?>
214 <div class="jp-info-img">
215 <a href="http://en.support.wordpress.com/publicize/">
216 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/publicize.png' ) ?>" alt="<?php esc_attr_e( 'Publicize', 'jetpack' ) ?>" width="328" height="123" />
217 </a>
218 </div>
219
220 <p><?php esc_html_e( 'Publicize allows you to connect your blog to popular social networking sites and automatically share new posts with your friends. You can make a connection for just yourself or for all users on your blog.', 'jetpack' ) ?></p>
221 <p><?php esc_html_e( 'Publicize allows you to share your posts on Facebook, Twitter, Tumblr, Yahoo!, and Linkedin.', 'jetpack' ); ?></p>
222
223 <?php if ( 'jetpack_module_more_info_connected_publicize' == current_filter() ) : ?>
224
225 <p><?php printf( __( 'Manage your <a href="%s">Publicize settings</a>.', 'jetpack' ), menu_page_url( 'sharing', false ) ); ?>
226
227 <?php endif; ?>
228
229 <p>&rarr; <a href="http://jetpack.me/support/publicize/"><?php esc_html_e( 'More information on using Publicize.', 'jetpack' ); ?></a></p>
230 <?php
231 }
232
233 add_action( 'jetpack_module_more_info_publicize', 'publicize_more_info' );
234 add_action( 'jetpack_module_more_info_connected_publicize', 'publicize_more_info' );
235
236 function publicize_load_more_link( $description ) {
237 echo '<a class="button-secondary more-info-link" href="http://jetpack.me/support/publicize/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
238 }
239 add_filter( 'jetpack_learn_more_button_publicize', 'publicize_load_more_link' );
240
241 // Notifications
242 function notes_more_info() { ?>
243 <div class="jp-info-img">
244 <a href="http://support.wordpress.com/notifications/">
245 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/notes.png' ) ?>" alt="<?php esc_attr_e( 'Notifications', 'jetpack' ) ?>" width="300" height="150" />
246 </a>
247 </div>
248
249 <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>
250 <?php
251 }
252 add_action( 'jetpack_module_more_info_notes', 'notes_more_info' );
253
254 function notes_more_info_connected() { ?>
255 <div class="jp-info-img">
256 <a href="http://support.wordpress.com/notifications/">
257 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/notes.png' ) ?>" alt="<?php esc_attr_e( 'Notifications', 'jetpack' ) ?>" width="300" height="150" />
258 </a>
259 </div>
260
261 <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>
262 <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>
263 <?php
264 }
265 add_filter( 'jetpack_module_more_info_connected_notes', 'notes_more_info_connected' );
266
267 function notes_load_more_link( $description ) {
268 echo '<a class="button-secondary more-info-link" href="http://support.wordpress.com/notifications/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
269 }
270 add_filter( 'jetpack_learn_more_button_notes', 'notes_load_more_link' );
271
272
273 // LaTeX
274 function latex_more_info() { ?>
275 <div class="jp-info-img">
276 <a href="http://support.wordpress.com/latex/">
277 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/beautifulmath.png' ) ?>" alt="<?php esc_attr_e( 'LaTeX', 'jetpack' ) ?>" width="300" height="150" />
278 </a>
279 </div>
280
281 <p><?php printf( esc_html__( '%s is a powerful markup language for writing complex mathematical equations, formulas, etc.', 'jetpack' ), '<a href="http://www.latex-project.org/" target="_blank"><img src="//s0.wp.com/latex.php?latex=%5CLaTeX&amp;bg=transparent&amp;fg=000&amp;s=-1" alt="LaTeX logo" title="LaTeX" style="vertical-align: -25%" /></a>' ); ?></p>
282 <p><?php printf( esc_html__( 'Jetpack combines the power of %s and the simplicity of WordPress to give you the ultimate in math blogging platforms.', 'jetpack' ), '<img src="//s0.wp.com/latex.php?latex=%5CLaTeX&amp;bg=transparent&amp;fg=000&amp;s=-1" alt="LaTeX logo" title="LaTeX" style="vertical-align: -25%" />' ); ?></p>
283 <p><?php esc_html_e( 'Wow, that sounds nerdy.', 'jetpack' ) ?></p>
284 <?php
285 }
286 add_action( 'jetpack_module_more_info_latex', 'latex_more_info' );
287
288 function latex_more_info_connected() { ?>
289 <div class="jp-info-img">
290 <a href="http://support.wordpress.com/latex/">
291 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/beautifulmath.png' ) ?>" alt="<?php esc_attr_e( 'LaTeX', 'jetpack' ) ?>" width="300" height="150" />
292 </a>
293 </div>
294
295 <p><?php printf( esc_html__( '%s is a powerful markup language for writing complex mathematical equations, formulas, etc.', 'jetpack' ), '<a href="http://www.latex-project.org/" target="_blank"><img src="//s0.wp.com/latex.php?latex=%5CLaTeX&amp;bg=transparent&amp;fg=000&amp;s=-1" alt="LaTeX logo" title="LaTeX" style="vertical-align: -25%" /></a>' ); ?></p>
296 <p><?php printf( __( 'Use <code>$latex your latex code here$</code> or <code>[latex]your latex code here[/latex]</code> to include %s in your posts and comments. There are <a href="%s" target="_blank">all sorts of options</a> available.', 'jetpack' ), '<img src="//s0.wp.com/latex.php?latex=%5CLaTeX&amp;bg=transparent&amp;fg=000&amp;s=-1" alt="LaTeX logo" title="LaTeX" style="vertical-align: -25%" />', 'http://support.wordpress.com/latex/' ); ?></p>
297 <?php
298 }
299 add_action( 'jetpack_module_more_info_connected_latex', 'latex_more_info_connected' );
300
301 function latex_load_more_link( $description ) {
302 echo '<a class="button-secondary more-info-link" href="http://support.wordpress.com/latex/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
303 }
304 add_filter( 'jetpack_learn_more_button_latex', 'latex_load_more_link' );
305
306
307 // Sharedaddy
308 function sharedaddy_more_info() { ?>
309 <div class="jp-info-img">
310 <a href="http://en.support.wordpress.com/sharing/">
311 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/sharing.png' ) ?>" alt="<?php esc_attr_e( 'Sharing', 'jetpack' ) ?>" width="300" height="150" />
312 </a>
313 </div>
314 <p><?php esc_html_e( 'Share your posts with Twitter, Facebook, and a host of other services. You can configure services to appear as icons, text, or both. Some services have additional options to display smart buttons, such as Twitter, which will update the number of times the post has been shared.', 'jetpack' ); ?></p>
315
316 <p><?php
317 if ( is_multisite() ) {
318 esc_html_e( 'The following services are included: Twitter, Facebook, Reddit, StumbleUpon, PressThis, Digg, LinkedIn, Google +1, Print, and Email.' , 'jetpack' );
319 } else {
320 esc_html_e( 'The following services are included: Twitter, Facebook, Reddit, StumbleUpon, Digg, LinkedIn, Google +1, Print, and Email.' , 'jetpack' );
321 }
322 ?></p>
323
324 <p><?php esc_html_e( 'Additionally you can define your own custom services.', 'jetpack' ); ?></p>
325 <?php
326 }
327 add_action( 'jetpack_module_more_info_sharedaddy', 'sharedaddy_more_info' );
328
329 function sharedaddy_more_info_connected() { ?>
330 <div class="jp-info-img">
331 <embed type="application/x-shockwave-flash" src="http://s0.videopress.com/player.swf?v=1.02" height="190" wmode="transparent" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=WV0JOwY2"></embed>
332 </div>
333
334 <?php
335 if ( class_exists( 'Sharing_Admin' ) ) {
336 ?>
337
338 <p><?php printf( __( 'To configure your sharing settings, go to the Settings &rarr; <a href="%s">Sharing</a> menu.', 'jetpack' ), 'options-general.php?page=sharing' ); ?></p>
339 <p><?php esc_html_e( 'Drag and drop sharing services into the enabled section to have them show up on your site, and drag them into the hidden section to have them hidden behind a button.', 'jetpack' ); ?>
340
341 <?php
342 }
343 ?>
344
345 <p><?php printf( __( 'Full details can be found on the <a href="%s">Sharing support page</a>. This video also gives a swish run-down of how to use the Sharing feature. Watch it in HD for extra snazz!', 'jetpack' ), 'http://support.wordpress.com/sharing/' ); ?></p>
346 <?php
347 }
348 add_action( 'jetpack_module_more_info_connected_sharedaddy', 'sharedaddy_more_info_connected' );
349
350 function sharedaddy_load_more_link( $description ) {
351 echo '<a class="button-secondary more-info-link" href="http://support.wordpress.com/sharing/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
352 }
353 add_filter( 'jetpack_learn_more_button_sharedaddy', 'sharedaddy_load_more_link' );
354
355
356 // After The Deadline
357 function jpatd_more_info() { ?>
358 <div class="jp-info-img">
359 <a href="http://en.support.wordpress.com/proofreading/">
360 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/spelling.png' ) ?>" alt="<?php esc_attr_e( 'Spelling and Grammar', 'jetpack' ) ?>" width="300" height="150" />
361 </a>
362 </div>
363
364 <p><?php printf( __( "The <a href='%s'>After&nbsp;the&nbsp;Deadline</a> Proofreading service improves your writing by using artificial intelligence to find your errors and offer smart suggestions.", 'jetpack' ), 'http://www.afterthedeadline.com/' ); ?></p>
365 <p><?php printf( __( 'After the Deadline provides a number of <a href="%s">customization options</a>, which you can edit in your profile.', 'jetpack' ), esc_url( get_edit_profile_url( get_current_user_id() ) ) . '#atd' ); ?></p>
366 <?php
367 }
368 add_action( 'jetpack_module_more_info_after-the-deadline', 'jpatd_more_info' );
369
370 function jpatd_load_more_link( $description ) {
371 echo '<a class="button-secondary more-info-link" href="http://en.support.wordpress.com/proofreading/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
372 }
373 add_filter( 'jetpack_learn_more_button_after-the-deadline', 'jpatd_load_more_link' );
374
375
376 // RSS Links Widget, Image Widget, Twitter Widget
377 function jetpack_widgets_more_info() { ?>
378 <div class="jp-info-img">
379 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/widgets.png' ) ?>" alt="<?php esc_attr_e( 'Widgets Screenshot', 'jetpack' ) ?>" width="300" height="150" />
380 </div>
381
382 <p><strong><?php esc_html_e( 'The RSS Links Widget ', 'jetpack' ); ?></strong> <?php esc_html_e( "allows you to add links to your blog&#8217;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>
383 <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&#8217;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&#8217;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&#8217;s an easy way to add more visual interest to your site.", 'jetpack' ) ?></p>
384
385 <?php
386 }
387 add_action( 'jetpack_module_more_info_widgets', 'jetpack_widgets_more_info' );
388
389 function jetpack_widgets_more_info_connected() { ?>
390 <div class="jp-info-img">
391 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/widgets.png' ) ?>" alt="<?php esc_attr_e( 'Widgets Screenshot', 'jetpack' ) ?>" width="300" height="150" />
392 </div>
393
394 <p><?php printf( __( '<strong>The Twitter Widget</strong> shows your latest tweets within a sidebar on your theme.', 'jetpack' ) ); ?></p>
395 <p><?php printf( __( '<strong>The Facebook Like Box Widget</strong> shows your Facebook Like Box within a sidebar on your theme.', 'jetpack' ) ); ?></p>
396 <p><?php printf( __( '<strong>The Image Widget</strong> lets you easily add images to a sidebar on your theme.', 'jetpack' ) ); ?></strong> <?php esc_html_e( '', 'jetpack' ) ?></p>
397 <p><?php printf( __( '<strong>The Gravatar Widget</strong> allows you to pull in your Gravatar image along with some of your Gravatar profile data.', 'jetpack' ) ); ?></p>
398 <p><?php printf( __( '<strong>The Gallery Widget</strong> provides you with a simple way to display a photo gallery or slideshow in your blog’s sidebar. Requires the Tiled Gallery module.', 'jetpack' ) ); ?></p>
399 <p><?php printf( __( '<strong>The Display WordPress Posts Widget</strong> lets you display up to ten recent posts from another WordPress.com blog, or a self-hosted WordPress site with Jetpack enabled.', 'jetpack' ) ); ?></p>
400 <p><?php printf( __( '<strong>Retired: The Readmill Widget</strong> allows your readers to send a book to their device with one click.', 'jetpack' ) ); ?></p>
401 <!--<p><?php printf( __( '<strong>The Upcoming Events Widget</strong> allows you to use an iCalendar link to display a list of events on your site.', 'jetpack' ) ); ?></p>-->
402
403 <p><?php esc_html_e( 'Each of these widgets has a number of customization options.', 'jetpack' ); ?> <?php printf( __( 'To use the widgets, go to Appearance &#8594; <a href="%s">Widgets</a>. Drag them into one of your sidebars and configure away.', 'jetpack' ), admin_url( 'widgets.php' ) ); ?></p>
404 <?php
405 }
406 add_action( 'jetpack_module_more_info_connected_widgets', 'jetpack_widgets_more_info_connected' );
407
408 function jetpack_widgets_load_more_link( $description ) {
409 echo '<a class="button-secondary more-info-link" href="http://en.support.wordpress.com/widgets/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
410 }
411 add_filter( 'jetpack_learn_more_button_widgets', 'jetpack_widgets_load_more_link' );
412
413 // Subscriptions
414 function jetpack_subscriptions_more_info() { ?>
415 <div class="jp-info-img">
416 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/subscriptions.png' ) ?>" alt="<?php esc_attr_e( 'Subsriptions Screenshot', 'jetpack' ) ?>" width="300" height="150" />
417 </div>
418
419 <p><?php esc_html_e( 'Easily allow any visitor to subscribe to all of your posts via email through a widget in your blog&#8217;s sidebar. Every time you publish a post, WordPress.com will send a notification to all your subscribers.', 'jetpack' ); ?></p>
420 <p><?php esc_html_e( 'When leaving comments, your visitors can also subscribe to a post&#8217;s comments to keep up with the conversation.', 'jetpack' ); ?></p>
421
422 <?php
423
424 if ( 'jetpack_module_more_info_connected_subscriptions' == current_filter() )
425 printf( '<p>' . __( 'To use the Subscriptions widget, go to Appearance &#8594; <a href="%s">Widgets</a>. Drag the widget labeled &#8220;Blog Subscriptions (Jetpack)&#8221; into one of your sidebars and configure away.', 'jetpack' ) . '</p>', admin_url( 'widgets.php' ) );
426 printf( '<p>' . __( 'You can also make changes to your Subscription settings at the bottom of the <a href="%s">Discussion Settings</a> page.', 'jetpack' ) . '</p>', admin_url( 'options-discussion.php#jetpack-subscriptions-settings' ) );
427 printf( '<p>' . __( 'To customize the emails sent from your blog to your followers, check the settings at the bottom of the <a href="%s">Reading Settings</a> page.', 'jetpack' ) . '</p>', admin_url( 'options-reading.php#follower-settings' ) );
428 }
429 add_action( 'jetpack_module_more_info_subscriptions', 'jetpack_subscriptions_more_info' );
430 add_action( 'jetpack_module_more_info_connected_subscriptions', 'jetpack_subscriptions_more_info' );
431
432 function jetpack_subscriptions_load_more_link() {
433 echo '<a class="button-secondary more-info-link" href="http://en.support.wordpress.com/following/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
434 }
435 add_action( 'jetpack_learn_more_button_subscriptions', 'jetpack_subscriptions_load_more_link' );
436
437 // Enhanced Distribution
438
439 function jetpack_enhanced_distribution_more_info() { ?>
440 <p><?php esc_html_e( 'Jetpack will automatically take the great published content from your blog or website and share it instantly with third party services like search engines, increasing your reach and traffic.', 'jetpack' ); ?></p>
441
442 <?php
443 }
444
445 add_action( 'jetpack_module_more_info_enhanced-distribution', 'jetpack_enhanced_distribution_more_info' );
446 add_action( 'jetpack_module_more_info_connected_enhanced-distribution', 'jetpack_enhanced_distribution_more_info' );
447
448 function jetpack_enhanced_distribution_more_link() {
449 echo '<a class="button-secondary more-info-link" href="http://en.wordpress.com/firehose/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
450 }
451 add_action( 'jetpack_learn_more_button_enhanced-distribution', 'jetpack_enhanced_distribution_more_link' );
452
453 // JSON API
454 function jetpack_json_api_more_info() { ?>
455 <p><?php esc_html_e( 'Jetpack will allow you to authorize applications and services to securely connect to your blog and allow them to use your content in new ways and offer you new functionality.', 'jetpack' ); ?>
456
457 <p><?php _e( "Developers can use WordPress.com's <a href='http://developer.wordpress.com/docs/oauth2/'>OAuth2</a> authentication system and <a href='http://developer.wordpress.com/docs/api/'>WordPress.com REST API</a> to manage and access your site's content.", 'jetpack' ); ?></p>
458
459 <?php
460 }
461
462 add_action( 'jetpack_module_more_info_json-api', 'jetpack_json_api_more_info' );
463 add_action( 'jetpack_module_more_info_connected_json-api', 'jetpack_json_api_more_info' );
464
465 function jetpack_json_api_more_link() {
466 echo '<a class="button-secondary more-info-link" href="http://jetpack.me/support/json-api/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
467 }
468 add_action( 'jetpack_learn_more_button_json-api', 'jetpack_json_api_more_link' );
469
470 // Contact Form: START
471 function jetpack_contact_form_learn_more_button() {
472 echo '<a class="button-secondary more-info-link" href="http://support.wordpress.com/contact-form/">' . __( 'Learn More', 'jetpack' ) . '</a>';
473 }
474
475 function jetpack_contact_form_more_info() {
476 echo '<div class="jp-info-img">';
477 echo '<a href="http://support.wordpress.com/contact-form/">';
478 echo '<img class="jp-info-img" src="' . plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/contactform.png' ) . '" alt="' . esc_attr__( 'Contact Form', 'jetpack' ) . '" width="300" height="150" />';
479 echo '</a>';
480 echo '</div>';
481
482 echo '<p>';
483 _e( 'A contact form is a great way to offer your readers the ability to get in touch, without giving out your personal email address.', 'jetpack' );
484 echo '</p>';
485
486 echo '<p>'; _e( 'Each contact form can easily be customized to fit your needs. When a user submits your contact form, the feedback will be filtered through <a href="http://akismet.com/">Akismet</a> (if it is active on your site) to make sure it’s not spam. Any legitimate feedback will then be emailed to you, and added to your feedback management area.', 'jetpack' );
487 echo '</p>';
488 }
489
490 add_action( 'jetpack_learn_more_button_contact-form', 'jetpack_contact_form_learn_more_button' );
491 add_action( 'jetpack_module_more_info_contact-form', 'jetpack_contact_form_more_info' );
492 add_action( 'jetpack_module_more_info_connected_contact-form', 'jetpack_contact_form_more_info' );
493 // Contact Form: STOP
494
495 // Jetpack Comments: START
496 function jetpack_comments_learn_more_button() {
497 echo '<a class="button-secondary more-info-link" href="#">' . __( 'Learn More', 'jetpack' ) . '</a>';
498 }
499
500 function jetpack_comments_more_info() {
501 ?>
502 <div class="jp-info-img">
503 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/comments.png' ) ?>" alt="<?php esc_attr_e( 'Jetpack Comments Screenshot', 'jetpack' ) ?>" width="300" height="150" />
504 </div>
505
506 <p><?php esc_html_e( 'Jetpack Comments enables your visitors to use their WordPress.com, Twitter, or Facebook accounts when commenting on your site.', 'jetpack' ); ?></p>
507
508 <?php if ( 'jetpack_module_more_info_connected_comments' == current_filter() ) : ?>
509
510 <p><?php printf(
511 __( "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' ),
512 admin_url( 'options-discussion.php#jetpack-comments-settings' )
513 ); ?></p>
514
515 <?php endif; ?>
516 <?php
517 }
518
519 add_action( 'jetpack_learn_more_button_comments', 'jetpack_comments_learn_more_button' );
520 add_action( 'jetpack_module_more_info_comments', 'jetpack_comments_more_info' );
521 add_action( 'jetpack_module_more_info_connected_comments', 'jetpack_comments_more_info' );
522 // Jetpack Comments: STOP
523
524 // Gallery Carousel: START
525 function jetpack_carousel_learn_more_button() {
526 echo '<a class="button-secondary more-info-link" href="#">' . __( 'Learn More', 'jetpack' ) . '</a>';
527 }
528
529 function jetpack_carousel_more_info() {
530 ?>
531 <div class="jp-info-img">
532 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/carousel.png' ) ?>" alt="<?php esc_attr_e( 'Gallery Carousel Screenshot', 'jetpack' ) ?>" width="300" height="188" />
533 </div>
534
535 <p><?php esc_html_e( 'With Carousel active, any standard WordPress galleries you have embedded in posts or pages will launch a gorgeous full-screen photo browsing experience with comments and EXIF metadata.', 'jetpack' ); ?></p>
536 <?php
537 }
538
539 add_action( 'jetpack_learn_more_button_carousel', 'jetpack_carousel_learn_more_button' );
540 add_action( 'jetpack_module_more_info_carousel', 'jetpack_carousel_more_info' );
541 add_action( 'jetpack_module_more_info_connected_carousel', 'jetpack_carousel_more_info' );
542 // Gallery Carousel: STOP
543
544 // Custom CSS: START
545 function jetpack_custom_css_more_info() {
546 ?>
547 <div class="jp-info-img">
548 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/custom-css.png' ) ?>" alt="<?php esc_attr_e( 'Custom CSS', 'jetpack' ) ?>" width="300" height="150" />
549 </div>
550
551 <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>
552 <p><?php printf( __( 'To use the CSS editor, go to Appearance &#8594; <a href="%s">Edit CSS</a>.', 'jetpack' ), admin_url( 'themes.php?page=editcss' ) ); ?></p>
553
554 <?php
555 }
556
557 function jetpack_custom_css_more_button() {
558 echo '<a class="button-secondary more-info-link" href="#">' . __( 'Learn More', 'jetpack' ) . '</a>';
559 }
560
561 add_action( 'jetpack_learn_more_button_custom-css', 'jetpack_custom_css_more_button' );
562 add_action( 'jetpack_module_more_info_custom-css', 'jetpack_custom_css_more_info' );
563 // Custom CSS: STOP
564
565 // Minileven: START
566 function jetpack_minileven_more_info() {
567 ?>
568 <div class="jp-info-img">
569 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/mobile-theme.png' ) ?>" alt="<?php esc_attr_e( 'Mobile Theme', 'jetpack' ) ?>" width="300" height="150" />
570 </div>
571
572 <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>
573 <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>
574 <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>
575 <?php
576 }
577
578 function jetpack_minileven_more_button() {
579 echo '<a class="button-secondary more-info-link" href="#">' . __( 'Learn More', 'jetpack' ) . '</a>';
580 }
581
582 add_action( 'jetpack_learn_more_button_minileven', 'jetpack_minileven_more_button' );
583 add_action( 'jetpack_module_more_info_minileven', 'jetpack_minileven_more_info' );
584 // Minileven: STOP
585
586 // Infinite Scroll: START
587 /**
588 *
589 */
590 function jetpack_infinite_scroll_more_info() {
591 $support_text = sprintf( __( 'If you are a theme author, you can learn about adding support for Infinite Scroll at <a href="%1$s">%1$s</a>.', 'jetpack' ), 'http://jetpack.me/support/infinite-scroll/' );
592
593 ?>
594
595 <?php if ( ! Jetpack::is_active() || ( Jetpack::is_active() && current_theme_supports( 'infinite-scroll' ) ) ) : ?>
596 <p><?php esc_html_e( 'When you write great content, all you really want is people to find it, right?', 'jetpack' ); ?></p>
597
598 <p><?php esc_html_e( "With the Infinite Scroll module and a supported theme, that's exactly what happens. Instead of the old way of navigating down a page by scrolling and then clicking a link to get to the next page, waiting for a page refresh&mdash;the document model of the web&mdash;infinite scrolling pulls the next set of posts automatically into view when the reader approaches the bottom of the page, more like an application.", 'jetpack' ); ?></p>
599
600 <?php else : ?>
601 <p><?php echo esc_html( sprintf( __( "At this time, your theme, %s, doesn't support Infinite Scroll. Unlike other Jetpack modules, Infinite Scroll needs information from your theme to function properly.", 'jetpack' ), ( function_exists( 'wp_get_theme' ) ? wp_get_theme()->Name : get_current_theme() ) ) ); ?></p>
602
603 <p><?php esc_html_e( "Until your theme supports Infinite Scroll, you won't be able to activate this module.", 'jetpack' ); ?></p>
604
605 <?php
606
607 if ( current_user_can( 'update_themes' ) ) :
608 ob_start();
609 theme_update_available( function_exists( 'wp_get_theme' ) ? wp_get_theme() : (object) get_theme( get_current_theme() ) );
610 $theme_update_available = ob_get_clean();
611
612 if ( ! empty( $theme_update_available ) ) : ?>
613 <p><?php printf( __( 'There is an update available for your theme. You may wish to check if this update adds Infinite Scroll support by visiting the <a href="%s">WordPress Updates</a> page.', 'jetpack' ), esc_url( admin_url( 'update-core.php' ) ) ); ?></p>
614 <?php else : ?>
615 <p><?php echo $support_text; ?></p>
616 <?php endif; ?>
617 <?php else : ?>
618 <p><?php echo $support_text; ?></p>
619 <?php endif; ?>
620 <?php endif;
621 }
622 add_action( 'jetpack_module_more_info_infinite-scroll', 'jetpack_infinite_scroll_more_info' );
623
624 /**
625 *
626 */
627 function jetpack_infinite_scroll_more_button() {
628 echo '<a class="button more-info-link" href="#">' . __( 'Learn More', 'jetpack' ) . '</a>';
629 }
630 add_action( 'jetpack_learn_more_button_infinite-scroll', 'jetpack_infinite_scroll_more_button' );
631 // Infinite Scroll: STOP
632
633
634 // Post by Email: START
635 function jetpack_post_by_email_more_info() { ?>
636 <div class="jp-info-img">
637 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/post-by-email.png' ) ?>" alt="<?php esc_attr_e( 'Post by Email', 'jetpack' ) ?>" width="300" height="115" />
638 </div>
639
640 <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>
641
642 <?php if ( 'jetpack_module_more_info_connected_post-by-email' == current_filter() ) : ?>
643
644 <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' ) ); ?>
645
646 <?php endif; ?>
647
648 <p>&rarr; <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>
649
650 <?php
651 }
652
653 function jetpack_post_by_email_more_link() {
654 echo '<a class="button-secondary more-info-link" href="http://jetpack.me/support/post-by-email/">' . __( 'Learn More', 'jetpack' ) . '</a>';
655 }
656
657 add_action( 'jetpack_module_more_info_post-by-email', 'jetpack_post_by_email_more_info' );
658 add_action( 'jetpack_module_more_info_connected_post-by-email', 'jetpack_post_by_email_more_info' );
659 add_action( 'jetpack_learn_more_button_post-by-email', 'jetpack_post_by_email_more_link' );
660 // Post by Email: STOP
661
662
663 // Photon: START
664 /**
665 *
666 */
667 function jetpack_photon_more_info() { ?>
668 <p><?php esc_html_e( "Give your site a boost by loading images in posts from the WordPress.com content delivery network. We cache your images and serve them from our super-fast network, reducing the burden on your Web host with the click of a button.", 'jetpack' ); ?></p>
669 <?php
670 }
671 add_action( 'jetpack_module_more_info_photon', 'jetpack_photon_more_info' );
672
673 /**
674 * Display "Learn More" button for Photon module
675 * @uses __
676 * @action jetpack_learn_more_button_photon
677 * @return string
678 */
679 function jetpack_photon_more_link() {
680 echo '<a class="button-secondary more-info-link" href="#">' . __( 'Learn More', 'jetpack' ) . '</a>';
681 }
682 add_action( 'jetpack_learn_more_button_photon', 'jetpack_photon_more_link' );
683 // Photon: STOP
684
685 // Tiled Galleries: START
686 function jetpack_tiled_gallery_more_info() { ?>
687 <div class="jp-info-img">
688 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/tiled-gallery.png' ) ?>" alt="<?php esc_attr_e( 'Tiled Galleries', 'jetpack' ) ?>" width="300" height="150" />
689 </div>
690
691 <p><?php esc_html_e( 'Create elegant magazine-style mosaic layouts for your photos without having to use an external graphic editor.', 'jetpack' ); ?></p>
692 <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 &rarr; Media</a> and check the box next to "Display all your gallery pictures in a cool mosaic."', 'jetpack' ), admin_url( 'options-media.php' ) ); ?></p>
693 <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>
694 <?php
695 }
696 add_action( 'jetpack_module_more_info_tiled-gallery', 'jetpack_tiled_gallery_more_info' );
697
698 function jetpack_tiled_gallery_more_link() {
699 echo '<a class="button-secondary more-info-link" href="#">' . __( 'Learn More', 'jetpack' ) . '</a>';
700 }
701 add_action( 'jetpack_learn_more_button_tiled-gallery', 'jetpack_tiled_gallery_more_link' );
702 // Tiled Galleries: STOP
703
704 // Likes: START
705 function jetpack_likes_more_info() { ?>
706
707 <div class="jp-info-img">
708 <a href="http://jetpack.me/support/likes/">
709 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/likes.png' ) ?>" alt="<?php esc_attr_e( 'Likes', 'jetpack' ) ?>" width="323" height="69" />
710 </a>
711 </div>
712
713 <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>
714 <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>
715
716 <p>&rarr; <a href="http://jetpack.me/support/likes/"><?php esc_html_e( 'More information on using Likes.', 'jetpack' ); ?></a></p>
717
718 <?php
719 }
720 add_action( 'jetpack_module_more_info_likes', 'jetpack_likes_more_info' );
721
722 function jetpack_likes_more_link() {
723 echo '<a class="button-secondary more-info-link" href="#">' . __( 'Learn More', 'jetpack' ) . '</a>';
724 }
725 add_action( 'jetpack_learn_more_button_likes', 'jetpack_likes_more_link' );
726 // Likes: STOP
727
728 // Google+ Profile: START
729 function jetpack_gplus_authorship_more_info() { ?>
730
731 <div class="jp-info-img">
732 <a href="http://jetpack.me/support/google-plus/">
733 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/google-plus.png' ) ?>" alt="<?php esc_attr_e( 'Google+ Profile', 'jetpack' ) ?>" width="350" height="33" />
734 </a>
735 </div>
736
737 <p><?php esc_html_e( 'The Google+ profile module allows you to connect your blog and Google+ accounts.', 'jetpack' ) ?></p>
738 <p><?php esc_html_e( 'Displayed below your posts will be a link back to your Google+ profile and a Google+ follow button. A link will also be added to your Google+ profile.', 'jetpack' ); ?></p>
739
740 <p>&rarr; <a href="http://jetpack.me/support/google-plus/"><?php esc_html_e( 'More information on using Google+ Profile.', 'jetpack' ); ?></a></p>
741
742 <?php
743 }
744 add_action( 'jetpack_module_more_info_gplus-authorship', 'jetpack_gplus_authorship_more_info' );
745
746 function jetpack_gplus_authorship_more_link() {
747 echo '<a class="button-secondary more-info-link" href="#">' . __( 'Learn More', 'jetpack' ) . '</a>';
748 }
749 add_action( 'jetpack_learn_more_button_gplus-authorship', 'jetpack_gplus_authorship_more_link' );
750 // Google+ Profile: STOP
751
752 // Omnisearch: START
753 function jetpack_omnisearch_more_info() {
754 ?>
755
756 <p><?php esc_html_e( 'Search once, get results from everything! Currently supports searching posts, pages, comments, media, and plugins.', 'jetpack' ); ?></p>
757
758 <p><?php esc_html_e( 'Omnisearch plays nice with other plugins by letting other providers offer results as well.', 'jetpack' ); ?></p>
759
760 <?php if( class_exists( 'Jetpack_Omnisearch' ) && current_user_can( 'edit_posts' ) ): ?>
761 <?php echo Jetpack_Omnisearch::get_omnisearch_form(); ?>
762 <?php endif; ?>
763
764 <?php
765 }
766
767 function jetpack_omnisearch_more_link() {
768 echo '<a class="button-secondary more-info-link" href="http://jetpack.me/support/omnisearch/">' . __( 'Learn More', 'jetpack' ) . '</a>';
769 }
770
771 add_action( 'jetpack_module_more_info_omnisearch', 'jetpack_omnisearch_more_info' );
772 add_action( 'jetpack_learn_more_button_omnisearch', 'jetpack_omnisearch_more_link' );
773 // Omnisearch: STOP
774
775 // Widget Visibility: START
776 function jetpack_widget_visibility_more_info() { ?>
777 <p><?php esc_html_e( 'Control which pages your widgets appear on with Widget Visibility.', 'jetpack' ); ?></p>
778 <p><?php esc_html_e( 'To control visibility, expand the widget and click the Visibility button next to the Save button, and then, choose a set of visibility options.', 'jetpack' ); ?></p>
779 <p><?php esc_html_e( 'For example, if you wanted the Archives widget to only appear on category archives and error pages, choose "Show" from the first dropdown and then add two rules: "Page is 404 Error Page" and "Category is All Category Pages."', 'jetpack' ); ?></p>
780 <p><?php esc_html_e( 'You can also hide widgets based on the current page. For example, if you don\'t want the Archives widget to appear on search results pages, choose "Hide" and "Page is Search results."', 'jetpack' ); ?></p>
781 <?php
782 }
783
784 function jetpack_widget_visibility_more_link() {
785 echo '<a class="button-secondary more-info-link" href="http://jetpack.me/support/widget-visibility/">' . __( 'Learn More', 'jetpack' ) . '</a>';
786 }
787
788 add_action( 'jetpack_module_more_info_widget-visibility', 'jetpack_widget_visibility_more_info' );
789 add_action( 'jetpack_learn_more_button_widget-visibility', 'jetpack_widget_visibility_more_link' );
790 // Widget Visibility: STOP
791
792 // VideoPress: START
793 function jetpack_videopress_more_info() {
794 ?>
795 <p><?php _e( 'With the VideoPress module you can easily upload videos to your WordPress site and embed them in your posts and pages. This module requires a WordPress.com account with an active <a href="http://store.wordpress.com/premium-upgrades/videopress/" target="_blank">VideoPress subscription</a>.', 'jetpack' ); ?></p>
796 <?php
797 }
798 add_action( 'jetpack_module_more_info_videopress', 'jetpack_videopress_more_info' );
799
800 function jetpack_videopress_more_link() {
801 echo '<a class="button-secondary more-info-link" href="#">' . __( 'Learn More', 'jetpack' ) . '</a>';
802 }
803 add_action( 'jetpack_learn_more_button_videopress', 'jetpack_videopress_more_link' );
804 // VideoPress: STOP
805
806 // SSO: START
807 function jetpack_sso_more_info() { ?>
808
809 <p><?php esc_html_e( 'With WordPress.com Single Sign On, your users will be able to log in to or register for your WordPress site with the same credentials they use on WordPress.com. It\'s safe and secure.' , 'jetpack' ); ?></p>
810 <p><?php esc_html_e( 'Once enabled, a "Log in with WordPress.com" option will be added to your existing log in form.' , 'jetpack' ); ?></p>
811
812 <?php
813 }
814
815 function jetpack_sso_more_link() {
816 echo '<a class="button-secondary more-info-link" href="http://jetpack.me/support/sso/">' . __( 'Learn More', 'jetpack' ) . '</a>';
817 }
818
819 add_action( 'jetpack_module_more_info_sso', 'jetpack_sso_more_info' );
820 add_action( 'jetpack_learn_more_button_sso', 'jetpack_sso_more_link' );
821 // SSO: STOP
822
823 // Monitor: START
824 function jetpack_monitor_more_info() { ?>
825
826 <p><?php esc_html_e( 'Nobody likes downtime, and that\'s why Jetpack Monitor is on the job, keeping tabs on your site by checking it every five minutes. As soon as any downtime is detected, you will receive an email notification alerting you to the issue. That way you can act quickly, to get your site back online again!', 'jetpack' ); ?>
827
828 <p><?php esc_html_e( 'We’ll also let you know as soon as your site is up and running, so you can keep an eye on total downtime.', 'jetpack'); ?></p>
829
830 <?php
831 }
832 add_action( 'jetpack_module_more_info_monitor', 'jetpack_monitor_more_info' );
833
834 function jetpack_monitor_more_link() {
835 echo '<a class="button-secondary more-info-link" href="http://jetpack.me/support/monitor/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
836 }
837 add_action( 'jetpack_learn_more_button_monitor', 'jetpack_monitor_more_link' );
838 // Monitor: STOP
839
840 // Related Posts: START
841 function jetpack_related_posts_more_info() {
842 $template = <<<EOT
843 <div class="jp-info-img">
844 <a href="http://jetpack.me/support/related-posts/">
845 <img class="jp-info-img" src="%s" alt="%s" width="300" height="98" />
846 </a>
847 </div>
848
849 <p>%s</p>
850 <p>&rarr; <a href="http://jetpack.me/support/related-posts/">%s</a></p>
851 EOT;
852 printf(
853 $template,
854 plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/related-posts.png' ),
855 esc_attr__( 'Related Posts', 'jetpack' ),
856 esc_html__( '"Related Posts" shows additional relevant links from your site under your posts. If the feature is enabled, links appear underneath your Sharing Buttons and WordPress.com Likes (if you’ve turned these on).', 'jetpack' ),
857 esc_html__( 'More information on using Related Posts.', 'jetpack' )
858 );
859 }
860 add_action( 'jetpack_module_more_info_related-posts', 'jetpack_related_posts_more_info' );
861
862 function jetpack_related_posts_more_info_connected() {
863 $template = <<<EOT
864 <div class="jp-info-img">
865 <a href="http://jetpack.me/support/related-posts/">
866 <img class="jp-info-img" src="%s" alt="%s" width="300" height="98" />
867 </a>
868 </div>
869
870 <p>%s</p>
871 <p>&rarr; <a href="http://jetpack.me/support/related-posts/">%s</a></p>
872 <hr />
873 <p><a href="%s#sync-related-posts">%s</a></p>
874 EOT;
875 printf(
876 $template,
877 plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/related-posts.png' ),
878 esc_attr__( 'Related Posts', 'jetpack' ),
879 esc_html__( '"Related Posts" shows additional relevant links from your site under your posts. If the feature is enabled, links appear underneath your Sharing Buttons and WordPress.com Likes (if you’ve turned these on).', 'jetpack' ),
880 esc_html__( 'More information on using Related Posts.', 'jetpack' ),
881 esc_url( Jetpack::admin_url( array( 'page' => 'jetpack-debugger' ) ) ),
882 esc_html__( 'This feature uses the WordPress.com infrastructure and requires that your public content be mirrored there. If you see intermittent issues only affecting certain posts, request a reindex of your posts.', 'jetpack' )
883 );
884 }
885 add_action( 'jetpack_module_more_info_connected_related-posts', 'jetpack_related_posts_more_info_connected' );
886
887 function jetpack_related_posts_more_button() {
888 echo '<a class="button more-info-link" href="#">' . __( 'Learn More', 'jetpack' ) . '</a>';
889 }
890 add_action( 'jetpack_learn_more_button_related-posts', 'jetpack_related_posts_more_button' );
891 // Related Posts: STOP
892
893 // Markdown: START
894 function jetpack_markdown_more_info() { ?>
895 <p><?php esc_html_e( 'Markdown lets you compose posts and comments with links, lists, and other styles using regular characters and punctuation marks. Markdown is used by writers and bloggers who want a quick and easy way to write rich text, without having to take their hands off the keyboard, and without learning a lot of complicated codes and shortcuts.', 'jetpack' ); ?></p>
896
897 <?php
898 }
899 add_action( 'jetpack_module_more_info_markdown', 'jetpack_markdown_more_info' );
900
901 function jetpack_markdown_more_link() {
902 echo '<a class="button-secondary more-info-link" href="http://en.support.wordpress.com/markdown/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>';
903 }
904 add_action( 'jetpack_learn_more_button_markdown', 'jetpack_markdown_more_link' );
905 // Markdown: STOP
906
907 // Site Verification Tools: START
908 function jetpack_verification_tools_more_info() { ?>
909 <p><?php esc_html_e( 'Use these tools to verify that you own/control your website with other external services like Google, Bing and Pinterest.', 'jetpack' ); ?></p>
910 <p><?php printf( __( "Verifying your site allows you to access advanced features on these other services (e.g. Webmaster tools, or getting a verified badge). We'll just add an invisible %s tag to the source code of your homepage.", 'jetpack' ), '<code>meta</code>' ); ?></p>
911 <?php
912 }
913 add_action( 'jetpack_module_more_info_verification-tools', 'jetpack_verification_tools_more_info' );
914
915 function jetpack_verification_tools_more_link() {
916 echo '<a class="button-secondary more-info-link" href="http://support.wordpress.com/webmaster-tools/">' . __( 'Learn More', 'jetpack' ) . '</a>';
917 }
918 add_action( 'jetpack_learn_more_button_verification-tools', 'jetpack_verification_tools_more_link' );
919 // Site Verification Tools: STOP
920
921 // Custom Content Types: START
922 function jetpack_custom_content_types_more_info() { ?>
923 <h4><?php esc_html_e( 'Custom Content Types' , 'jetpack' ); ?></h4>
924
925 <div class="jp-info-img">
926 <img class="jp-info-img" src="<?php echo plugins_url( basename( dirname( dirname( __FILE__ ) ) ) . '/_inc/images/screenshots/custom-content-types.png' ) ?>" alt="<?php esc_attr_e( 'Tiled Galleries', 'jetpack' ) ?>" width="300" height="150" />
927 </div>
928
929 <p><?php esc_html_e( 'Organize and display different types of content on your site, separate from posts and pages.', 'jetpack' ); ?></p>
930 <p><?php printf( __( 'To enable the Portfolio content type, head over to <a href="%s">Settings &rarr; Writing &rarr; Your Custom Content Types</a> and make sure that "Portfolio Projects" is checked. You can now add projects under the new "Portfolio" menu item in your sidebar. After you\'ve added some projects, they\'ll be visible on your website at http://<strong>yourgroovysite.com</strong>/portfolio/.', 'jetpack' ), admin_url( 'options-writing.php#cpt-options' ) ); ?></p>
931 <?php
932 }
933 add_action( 'jetpack_module_more_info_custom-content-types', 'jetpack_custom_content_types_more_info' );
934
935 function jetpack_custom_content_types_more_link() {
936 echo '<a class="button-secondary more-info-link" href="http://support.wordpress.com/portfolios/">' . __( 'Learn More', 'jetpack' ) . '</a>';
937 }
938 add_action( 'jetpack_learn_more_button_custom-content-types', 'jetpack_custom_content_types_more_link' );
939 // Custom Content Types: STOP
940