Completed
Push — master-stable ( b1216e...9ecd54 )
by
unknown
70:21 queued 62:13
created

module-info.php ➔ jetpack_masterbar_more_info()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
nc 1
nop 0
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
/**
3
 * "Learn More" information blocks for all modules live in this file.
4
 *
5
 * Each module must include 2 functions:
6
 * - The first one creates a button where users can find more information about the module.
7
 * 	It is hooked into `jetpack_learn_more_button_ . $module`
8
 * - The second creates a information block.
9
 * 	It is hooked into `jetpack_module_more_info_ . $module`
10
 */
11
12
/**
13
 *  VaultPress (stub)
14
 */
15
function vaultpress_jetpack_load_more_link() {
16
	if ( function_exists( 'is_multisite' ) && is_multisite() ) {
17
		$vaultpress_url = 'http://vaultpress.com/jetpack-ms/';
18
	} else {
19
		$vaultpress_url = 'http://vaultpress.com/jetpack/';
20
	}
21
22
	echo $vaultpress_url;
23
}
24
add_filter( 'jetpack_learn_more_button_vaultpress', 'vaultpress_jetpack_load_more_link' );
25
26
function vaultpress_jetpack_more_info() {
27
	esc_html_e(
28
		'We keep a daily or real-time backup of your site so that when mistakes or accidents occur, restoring your
29
		site to any location takes a matter of minutes. Your site’s files are regularly scanned for unauthorized or
30
		suspicious modifications that could compromise your security and data. In many cases, we can fix them
31
		automatically (and will notify you). When we can’t, we provide you with expert support.'
32
		, 'jetpack' );
33
}
34
add_action( 'jetpack_module_more_info_vaultpress', 'vaultpress_jetpack_more_info' );
35
36
/**
37
 * Gravatar Hovercards
38
 */
39
function grofiles_load_more_link() {
40
	echo 'https://jetpack.com/support/gravatar-hovercards/';
41
}
42
add_filter( 'jetpack_learn_more_button_gravatar-hovercards', 'grofiles_load_more_link' );
43
44
function grofiles_more_info() { ?>
45
	<?php esc_html_e(
46
		'Enhance plain Gravatar images with information about a person (including a name,
47
		bio, pictures, and contact info) when they leave a comment on one of your posts.'
48
		, 'jetpack' );
49
}
50
add_action( 'jetpack_module_more_info_gravatar-hovercards', 'grofiles_more_info' );
51
52
/**
53
 * Shortcodes
54
 */
55
function jetpack_shortcodes_load_more_link() {
56
	echo 'https://jetpack.com/support/shortcode-embeds/';
57
}
58
add_filter( 'jetpack_learn_more_button_shortcodes', 'jetpack_shortcodes_load_more_link' );
59
60
function jetpack_shortcodes_more_info() { ?>
61
	<?php esc_html_e(
62
		'Easily and safely embed media from YouTube, Facebook, Flickr, Vimeo, Instagram,
63
		Google Maps, SlideShare, Vine, SoundCloud, and more. Just enter the appropriate shortcode directly into the
64
		editor and click “Publish.”'
65
		, 'jetpack' );
66
}
67
add_action( 'jetpack_module_more_info_shortcodes', 'jetpack_shortcodes_more_info' );
68
69
/**
70
 * Shortlinks
71
 */
72
function wpme_load_more_link() {
73
	echo 'http://wp.me/p1moTy-DL';
74
}
75
add_filter( 'jetpack_learn_more_button_shortlinks', 'wpme_load_more_link' );
76
77
function wpme_more_info() { ?>
78
	<?php esc_html_e(
79
		'Grab short and simple links to your posts and pages using the compact wp.me domain name. Perfect
80
		for use on Twitter, Facebook, and in text messages where every character counts.'
81
		, 'jetpack' );
82
}
83
add_action( 'jetpack_module_more_info_shortlinks', 'wpme_more_info' );
84
85
/**
86
 * Site Stats
87
 */
88
function stats_load_more_link() {
89
	echo 'https://jetpack.com/support/wordpress-com-stats/';
90
}
91
add_filter( 'jetpack_learn_more_button_stats', 'stats_load_more_link' );
92
93
function stats_more_info() { ?>
94
	<?php esc_html_e(
95
		'Simple and concise statistics about your traffic. Jetpack collects data about pageviews, likes, comments,
96
		locations, and top posts. View them in your dashboard or on WordPress.com.'
97
		, 'jetpack' );
98
}
99
add_action( 'jetpack_module_more_info_stats', 'stats_more_info' );
100
101
/**
102
 * Publicize
103
 */
104
function publicize_load_more_link() {
105
	echo 'https://jetpack.com/support/publicize/';
106
}
107
add_filter( 'jetpack_learn_more_button_publicize', 'publicize_load_more_link' );
108
109
function publicize_more_info() { ?>
110
	<?php esc_html_e(
111
		'Automatically share and promote newly published posts to Facebook, Twitter, Tumblr, Google+, Path,
112
		and LinkedIn. You can add connections for yourself or for all users on your site.'
113
		, 'jetpack' );
114
}
115
add_action( 'jetpack_module_more_info_publicize', 'publicize_more_info' );
116
117
/**
118
 * Notifications
119
 */
120
function notes_load_more_link() {
121
	echo 'https://jetpack.com/support/notifications/';
122
}
123
add_filter( 'jetpack_learn_more_button_notes', 'notes_load_more_link' );
124
125
function notes_more_info() { ?>
126
	<?php esc_html_e(
127
		'You will receive instant notifications in your dashboard or your mobile device when somebody comments
128
		on any of your sites. Reply directly wherever you are to keep the conversation going.'
129
		, 'jetpack' );
130
}
131
add_filter( 'jetpack_module_more_info_notes', 'notes_more_info' );
132
133
/**
134
 * LaTeX
135
 */
136
function latex_load_more_link() {
137
	echo 'https://jetpack.com/support/beautiful-math-with-latex/';
138
}
139
add_filter( 'jetpack_learn_more_button_latex', 'latex_load_more_link' );
140
141
function latex_more_info() { ?>
142
	<?php printf( esc_html__(
143
		'%1$s is a powerful markup language for writing complex mathematical equations and formulas.
144
		Jetpack combines the power of %1$s and the simplicity of WordPress to give you the ultimate
145
		in math blogging platforms. Use $latex your latex code here$ or [latex]your latex code here[/latex]
146
		to include  in your posts and comments. Enjoy all sorts of options and embrace your inner nerd.'
147
		, 'jetpack' )
148
		, '<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>'
149
	); ?>
150
<?php
151
}
152
add_action( 'jetpack_module_more_info_latex', 'latex_more_info' );
153
154
/**
155
 * Sharing
156
 */
157
function sharedaddy_load_more_link() {
158
	echo 'https://jetpack.com/support/sharing/';
159
}
160
add_filter( 'jetpack_learn_more_button_sharedaddy', 'sharedaddy_load_more_link' );
161
162
function sharedaddy_more_info() { ?>
163
	<?php esc_html_e(
164
		'Visitors can share your posts with Twitter, Facebook, Reddit, Digg, LinkedIn, Google+, print,
165
		and email. You can configure services to appear as icons, text, or both and some services like Twitter
166
		have additional options.'
167
		, 'jetpack' );
168
}
169
add_action( 'jetpack_module_more_info_sharedaddy', 'sharedaddy_more_info' );
170
171
/**
172
 * After The Deadline
173
 */
174
function jpatd_load_more_link() {
175
	echo 'https://jetpack.com/support/spelling-and-grammar/';
176
}
177
add_filter( 'jetpack_learn_more_button_after-the-deadline', 'jpatd_load_more_link' );
178
179
function jpatd_more_info() { ?>
180
	<?php esc_html_e(
181
		'The After the Deadline proofreading service improves your writing by using artificial intelligence to
182
		find spelling and grammatical errors and offers smart suggestions.'
183
		, 'jetpack' );
184
}
185
add_action( 'jetpack_module_more_info_after-the-deadline', 'jpatd_more_info' );
186
187
/**
188
 * Extra Sidebar Widgets
189
 */
190
function jetpack_widgets_load_more_link() {
191
	echo 'https://jetpack.com/support/extra-sidebar-widgets/';
192
}
193
add_filter( 'jetpack_learn_more_button_widgets', 'jetpack_widgets_load_more_link' );
194
195
function jetpack_widgets_more_info() { ?>
196
	<?php esc_html_e(
197
		'Add as many custom widgets as you like by dragging and dropping and customize each to fit your needs,
198
		including, Twitter streams, Facebook like boxes, custom images, Gravatars, tiled galleries, recent posts,
199
		or social icons.'
200
		, 'jetpack' );
201
}
202
add_action( 'jetpack_module_more_info_widgets', 'jetpack_widgets_more_info' );
203
204
/**
205
 * Subscriptions
206
 */
207
function jetpack_subscriptions_load_more_link() {
208
	echo 'https://jetpack.com/support/subscriptions/';
209
}
210
add_action( 'jetpack_learn_more_button_subscriptions', 'jetpack_subscriptions_load_more_link' );
211
212
function jetpack_subscriptions_more_info() { ?>
213
	<?php esc_html_e(
214
		'A widget in your sidebar allows visitors to subscribe to your site so that they receive an email
215
		each time you publish new content. Your visitors can also subscribe to a post\'s comments to keep up with the conversation.'
216
		, 'jetpack' );
217
}
218
add_action( 'jetpack_module_more_info_subscriptions', 'jetpack_subscriptions_more_info' );
219
220
/**
221
 * Enhanced Distribution
222
 */
223
function jetpack_enhanced_distribution_more_link() {
224
	echo 'https://jetpack.com/support/enhanced-distribution/';
225
}
226
add_action( 'jetpack_learn_more_button_enhanced-distribution', 'jetpack_enhanced_distribution_more_link' );
227
228
function jetpack_enhanced_distribution_more_info() {
229
	esc_html_e(
230
		'Jetpack will automatically take your great published content and share it instantly with third-party services
231
		like search engines, increasing your reach and traffic.'
232
		, 'jetpack' );
233
}
234
add_action( 'jetpack_module_more_info_enhanced-distribution', 'jetpack_enhanced_distribution_more_info' );
235
236
237
/**
238
 * Protect
239
 */
240
function jetpack_protect_more_link() {
241
	echo 'https://jetpack.com/support/protect/';
242
}
243
add_action( 'jetpack_learn_more_button_protect', 'jetpack_protect_more_link' );
244
245
function jetpack_protect_more_info() {
246
	esc_html_e(
247
		'Most sites will come under attack from automated bots that attempt to log in for malicious purposes.
248
		We protect you automatically from unauthorized access by using data from millions of sites.'
249
		, 'jetpack' );
250
}
251
252
add_action( 'jetpack_module_more_info_protect', 'jetpack_protect_more_info' );
253
254
/**
255
 * JSON API
256
 */
257
function jetpack_json_api_more_link() {
258
	echo 'https://jetpack.com/support/json-api/';
259
}
260
add_action( 'jetpack_learn_more_button_json-api', 'jetpack_json_api_more_link' );
261
262
function jetpack_json_api_more_info() {
263
	esc_html_e(
264
		'Authorize applications and services to securely connect to your site. Developers can use WordPress.com\'s OAuth2
265
		authentication system and WordPress.com REST API to manage and access your site\'s content.'
266
		, 'jetpack' );
267
}
268
add_action( 'jetpack_module_more_info_json-api', 'jetpack_json_api_more_info' );
269
270
271
/**
272
 * Contact Form
273
 */
274
function jetpack_contact_form_learn_more_button() {
275
	echo 'https://jetpack.com/support/contact-form/';
276
}
277
add_action( 'jetpack_learn_more_button_contact-form', 'jetpack_contact_form_learn_more_button' );
278
279
function jetpack_contact_form_more_info() { ?>
280
	<?php esc_html_e(
281
		'Create simple contact forms without any coding. You can have multiple forms and when
282
		a user submits it, their feedback will be emailed directly to you. If Akismet is active, submissions will be
283
		automatically filtered for spam.'
284
		, 'jetpack' );
285
}
286
add_action( 'jetpack_module_more_info_contact-form', 'jetpack_contact_form_more_info' );
287
288
289
/**
290
 * Comments
291
 */
292
function jetpack_comments_learn_more_button() {
293
	echo 'https://jetpack.com/support/comments';
294
}
295
add_action( 'jetpack_learn_more_button_comments', 'jetpack_comments_learn_more_button' );
296
297
function jetpack_comments_more_info() { ?>
298
	<?php esc_html_e(
299
		'Allow visitors to use their WordPress.com, Twitter, or Facebook accounts when commenting on
300
		your site. Jetpack will match your site\'s color scheme automatically (but you can adjust that).'
301
		, 'jetpack' );
302
}
303
add_action( 'jetpack_module_more_info_comments', 'jetpack_comments_more_info' );
304
305
/**
306
 * Carousel
307
 */
308
function jetpack_carousel_learn_more_button() {
309
	echo 'https://jetpack.com/support/carousel';
310
}
311
add_action( 'jetpack_learn_more_button_carousel', 'jetpack_carousel_learn_more_button' );
312
313
function jetpack_carousel_more_info() { ?>
314
	<?php esc_html_e(
315
		'With Carousel active, any standard WordPress galleries or single images you have embedded in posts or pages will
316
		launch a full-screen photo browsing experience with comments and EXIF metadata.'
317
		, 'jetpack' ); ?>
318
<?php
319
}
320
add_action( 'jetpack_module_more_info_carousel', 'jetpack_carousel_more_info' );
321
322
/**
323
 * Custom CSS
324
 */
325
function jetpack_custom_css_more_button() {
326
	echo 'https://jetpack.com/support/custom-css';
327
}
328
add_action( 'jetpack_learn_more_button_custom-css', 'jetpack_custom_css_more_button' );
329
330
function jetpack_custom_css_more_info() { ?>
331
	<?php esc_html_e(
332
		"Add to or replace your theme's CSS including mobile styles, LESS, and SaSS.
333
		Includes syntax coloring, auto-indentation, and immediate CSS validation."
334
		, 'jetpack' );
335
}
336
add_action( 'jetpack_module_more_info_custom-css', 'jetpack_custom_css_more_info' );
337
338
339
/**
340
 * Masterbar
341
 */
342
function jetpack_masterbar_more_link() {
343
	echo 'https://jetpack.com/support/masterbar/';
344
}
345
add_action( 'jetpack_learn_more_button_masterbar', 'jetpack_masterbar_more_link' );
346
347
function jetpack_masterbar_more_info() {
348
	esc_html_e(
349
		"Quickly access your Stats, Notifications, Posts and more on WordPress.com. " .
350
		"The Toolbar is displayed for any user on the site that is connected to WordPress.com."
351
		, 'jetpack' );
352
}
353
add_action( 'jetpack_module_more_info_masterbar', 'jetpack_masterbar_more_info' );
354
355
/**
356
 * Mobile Theme
357
 */
358
function jetpack_minileven_more_button() {
359
	echo 'https://jetpack.com/support/mobile-theme';
360
}
361
add_action( 'jetpack_learn_more_button_minileven', 'jetpack_minileven_more_button' );
362
363
function jetpack_minileven_more_info() { ?>
364
	<?php esc_html_e(
365
		"Automatically optimize your site for mobile. Jetpack's mobile theme uses the header image,
366
		background, and widgets from your current theme. Post format support means your photos and galleries
367
		will also look fantastic."
368
		, 'jetpack' );
369
}
370
add_action( 'jetpack_module_more_info_minileven', 'jetpack_minileven_more_info' );
371
372
/**
373
 * Infinite Scroll
374
 */
375
function jetpack_infinite_scroll_more_button() {
376
	echo 'https://jetpack.com/support/infinite-scroll';
377
}
378
add_action( 'jetpack_learn_more_button_infinite-scroll', 'jetpack_infinite_scroll_more_button' );
379
380
function jetpack_infinite_scroll_more_info() {
381
	esc_html_e(
382
		'Infinite scrolling pulls the next set of posts automatically into view when the reader approaches
383
		the bottom of the page. This helps you reader see more of your content.'
384
	, 'jetpack' );
385
}
386
add_action( 'jetpack_module_more_info_infinite-scroll', 'jetpack_infinite_scroll_more_info' );
387
388
/**
389
 * Post by Email
390
 */
391
function jetpack_post_by_email_more_link() {
392
	echo 'https://jetpack.com/support/post-by-email/';
393
}
394
add_action( 'jetpack_learn_more_button_post-by-email', 'jetpack_post_by_email_more_link' );
395
396
function jetpack_post_by_email_more_info() { ?>
397
	<?php esc_html_e(
398
		'Publish posts on your site by writing and sending an email from any email client instead of using the post editor.'
399
		, 'jetpack' );
400
}
401
add_action( 'jetpack_module_more_info_post-by-email', 'jetpack_post_by_email_more_info' );
402
403
/**
404
 * Photon
405
 */
406
function jetpack_photon_more_link() {
407
	echo 'https://jetpack.com/support/photon';
408
}
409
add_action( 'jetpack_learn_more_button_photon', 'jetpack_photon_more_link' );
410
411
function jetpack_photon_more_info() {
412
	esc_html_e(
413
		"Your images are automatically optimized for different display resolutions to serve the best
414
		possible image quality. We also cache and serve them from our fast, global network (CDN)."
415
		, 'jetpack' );
416
}
417
add_action( 'jetpack_module_more_info_photon', 'jetpack_photon_more_info' );
418
419
/**
420
 * Tiled Galleries
421
 */
422
function jetpack_tiled_gallery_more_link() {
423
	echo 'https://jetpack.com/support/tiled-galleries/';
424
}
425
add_action( 'jetpack_learn_more_button_tiled-gallery', 'jetpack_tiled_gallery_more_link' );
426
427
function jetpack_tiled_gallery_more_info() { ?>
428
	<?php esc_html_e(
429
		'When adding an image gallery, you will have the option to create elegant magazine-style mosaic layouts for your photos,
430
		including mosaic (default), square, and circular layouts.'
431
		, 'jetpack' );
432
}
433
add_action( 'jetpack_module_more_info_tiled-gallery', 'jetpack_tiled_gallery_more_info' );
434
435
/**
436
 * Likes
437
 */
438
function jetpack_likes_more_link() {
439
	echo 'https://jetpack.com/support/likes/';
440
}
441
add_action( 'jetpack_learn_more_button_likes', 'jetpack_likes_more_link' );
442
443
function jetpack_likes_more_info() { ?>
444
	<?php esc_html_e(
445
		'Allow your readers to show their appreciation for your posts and other content. Likes show up
446
		below each post and your readers will also be able to review their liked posts from WordPress.com.'
447
		, 'jetpack' );
448
}
449
add_action( 'jetpack_module_more_info_likes', 'jetpack_likes_more_info' );
450
451
/**
452
 * Omnisearch
453
 */
454
function jetpack_omnisearch_more_link() {
455
	echo 'https://jetpack.com/support/omnisearch/';
456
}
457
add_action( 'jetpack_learn_more_button_omnisearch', 'jetpack_omnisearch_more_link' );
458
459
function jetpack_omnisearch_more_info() {
460
	esc_html_e(
461
		'A search to rule them all: search once, get results from everything! Omnisearch supports searching posts,
462
		pages, comments, media, and plugins and plays nice with other plugins by letting other providers offer
463
		results as well.'
464
		, 'jetpack' );
465
}
466
add_action( 'jetpack_module_more_info_omnisearch',  'jetpack_omnisearch_more_info' );
467
468
/**
469
 * Widget Visibility
470
 */
471
function jetpack_widget_visibility_more_link() {
472
	echo 'https://jetpack.com/support/widget-visibility/';
473
}
474
add_action( 'jetpack_learn_more_button_widget-visibility', 'jetpack_widget_visibility_more_link' );
475
476
function jetpack_widget_visibility_more_info() {
477
	esc_html_e(
478
		'Choose from a set of visibility options for sidebar widgets such as showing them only certain categories,
479
		only on error pages, or only search results pages. You can also do the reverse and choose to hide them on certain pages.'
480
		, 'jetpack' ); ?>
481
<?php
482
}
483
add_action( 'jetpack_module_more_info_widget-visibility',  'jetpack_widget_visibility_more_info' );
484
485
/**
486
 * VideoPress
487
 */
488
function jetpack_videopress_more_link() {
489
	echo 'https://jetpack.com/support/videopress/';
490
}
491
add_action( 'jetpack_learn_more_button_videopress', 'jetpack_videopress_more_link' );
492
493
function jetpack_videopress_more_info() {
494
	esc_html_e(
495
		'The easiest way to upload ad-free and unbranded videos to your site. You get stats on video
496
		playback and shares and the player is lightweight and responsive.'
497
		, 'jetpack' );
498
}
499
add_action( 'jetpack_module_more_info_videopress', 'jetpack_videopress_more_info' );
500
501
/**
502
 * SSO
503
 */
504
function jetpack_sso_more_link() {
505
	echo 'https://jetpack.com/support/sso/';
506
}
507
add_action( 'jetpack_learn_more_button_sso', 'jetpack_sso_more_link' );
508
509
function jetpack_sso_more_info() {
510
	esc_html_e(
511
		'Your users will be able to log in to your site with their WordPress.com account.
512
		This includes two-factor authentication making it the safest login mechanism for your site.'
513
		, 'jetpack' );
514
}
515
add_action( 'jetpack_module_more_info_sso',  'jetpack_sso_more_info' );
516
517
/**
518
 * Monitor
519
 */
520
function jetpack_monitor_more_link() {
521
	echo 'https://jetpack.com/support/monitor/';
522
}
523
add_action( 'jetpack_learn_more_button_monitor', 'jetpack_monitor_more_link' );
524
525
function jetpack_monitor_more_info() {
526
	esc_html_e(
527
		'Jetpack checks your site every five minutes and if any downtime is detected you will receive an email
528
		notification alerting you to the issue, so you can act quickly and get your site back online.'
529
		, 'jetpack' );
530
}
531
add_action( 'jetpack_module_more_info_monitor', 'jetpack_monitor_more_info' );
532
533
/**
534
 * Related Posts
535
 */
536
function jetpack_related_posts_more_button() {
537
	echo 'https://jetpack.com/support/related-posts/';
538
}
539
add_action( 'jetpack_learn_more_button_related-posts', 'jetpack_related_posts_more_button' );
540
541
function jetpack_related_posts_more_info() {
542
	esc_html_e(
543
		'Show visitors related content from your site at the bottom of your posts. This encourages them
544
		to browse more content, explore your site, and transform them into regular readers.'
545
		, 'jetpack' );
546
}
547
add_action( 'jetpack_module_more_info_related-posts', 'jetpack_related_posts_more_info' );
548
549
/**
550
 * Markdown
551
 */
552
function jetpack_markdown_more_link() {
553
	echo 'https://jetpack.com/support/markdown/';
554
}
555
add_action( 'jetpack_learn_more_button_markdown', 'jetpack_markdown_more_link' );
556
557
function jetpack_markdown_more_info() {
558
	esc_html_e(
559
		'Compose posts and comments with links, lists, and other styles using regular characters and
560
		punctuation marks. A quick and easy way to format text without needing any HTML or coding.'
561
		, 'jetpack' );
562
}
563
add_action( 'jetpack_module_more_info_markdown', 'jetpack_markdown_more_info' );
564
565
/**
566
 * Site Verification Tools
567
 */
568
function jetpack_verification_tools_more_link() {
569
	echo 'https://jetpack.com/support/site-verification-tools/';
570
}
571
add_action( 'jetpack_learn_more_button_verification-tools', 'jetpack_verification_tools_more_link' );
572
573
function jetpack_verification_tools_more_info() {
574
	esc_html_e(
575
		'Verify your site ownership with services like Google, Bing, Pinterest, and Yandex. This gives you access to
576
		advanced features on these services and get verification badges.'
577
		, 'jetpack' );
578
}
579
add_action( 'jetpack_module_more_info_verification-tools', 'jetpack_verification_tools_more_info' );
580
581
/**
582
 * SEO Tools
583
 */
584
function jetpack_seo_tools_more_link() {
585
	echo 'https://jetpack.com/support/seo-tools/';
586
}
587
add_action( 'jetpack_learn_more_button_seo-tools', 'jetpack_seo_tools_more_link' );
588
589
function jetpack_seo_tools_more_info() {
590
	esc_html_e(
591
		'Better results on search engines and social media.'
592
		, 'jetpack' );
593
}
594
add_action( 'jetpack_module_more_info_seo-tools', 'jetpack_seo_tools_more_info' );
595
596
/**
597
 * Custom Content Types
598
 */
599
function jetpack_custom_content_types_more_link() {
600
	echo 'https://jetpack.com/support/custom-content-types/';
601
}
602
add_action( 'jetpack_learn_more_button_custom-content-types', 'jetpack_custom_content_types_more_link' );
603
604
function jetpack_custom_content_types_more_info() { ?>
605
	<?php esc_html_e(
606
		'Add and organize content that doesn’t necessarily fit into a post or static page such as portfolios
607
		or testimonials. Custom	content can be visible at specific URLs, or you may add them with shortcodes.'
608
		, 'jetpack' );
609
}
610
add_action( 'jetpack_module_more_info_custom-content-types', 'jetpack_custom_content_types_more_info' );
611
// Custom Content Types: STOP
612
613
/**
614
 * Manage
615
 */
616
function jetpack_manage_more_link() {
617
	echo 'https://jetpack.com/support/site-management/';
618
}
619
add_action( 'jetpack_learn_more_button_manage', 'jetpack_manage_more_link' );
620
621
function jetpack_custom_jetpack_manage() { ?>
622
	<?php esc_html_e(
623
		'Manage and update this and other WordPress sites from one simple dashboard on WordPress.com. You can update
624
		plugins, set them to automatically update, and (de)activate them on a per-site basis or in bulk from
625
		wordpress.com/plugins. You can also use the brand new and mobile-friendly post editor on WordPress.com as well
626
		as view and activate installed themes and create or edit site menus.'
627
		, 'jetpack' );
628
}
629
add_action( 'jetpack_module_more_info_manage', 'jetpack_custom_jetpack_manage' );
630
631
// XML Sitemap: START
632
function jetpack_sitemaps_more_link() {
633
	echo 'https://jetpack.com/support/sitemaps/';
634
}
635
add_action( 'jetpack_learn_more_button_sitemaps', 'jetpack_sitemaps_more_link' );
636
637
function jetpack_xml_sitemap_more_info() {
638
	esc_html_e(
639
		'Automatically create two sitemap files that list the URLs of posts and pages in your site.
640
		This makes it easier for search engines (like Google) to include your site in relevant search results.'
641
		, 'jetpack' );
642
}
643
add_action( 'jetpack_module_more_info_sitemaps', 'jetpack_xml_sitemap_more_info' );
644
// XML Sitemap: STOP
645
646
/**
647
 * WordAds
648
 */
649
function jetpack_wordads_more_link() {
650
	echo 'https://wordads.co/';
651
}
652
add_action( 'jetpack_learn_more_button_wordads', 'jetpack_wordads_more_link' );
653
654
function jetpack_wordads_more_info() {
655
	esc_html_e(
656
		'By default ads are shown at the end of every page, post, or the first article on your front page. You can also add them to the top of your site and to any widget area to increase your earnings!'
657
		, 'jetpack' );
658
}
659
add_action( 'jetpack_module_more_info_wordads', 'jetpack_wordads_more_info' );
660
// WordAds: STOP
661
662
/**
663
 * Google Analytics
664
 */
665
function jetpack_google_analytics_more_link() {
666
	echo 'https://jetpack.com/support/google-analytics';
667
}
668
add_action( 'jetpack_learn_more_button_google-analytics', 'jetpack_google_analytics_more_link' );
669
670
function jetpack_google_analytics_more_info() {
671
	esc_html_e(
672
		'Track website statistics with Google Analytics for a deeper understanding of your website visitors and customers.'
673
		, 'jetpack' );
674
}
675
add_action( 'jetpack_module_more_info_google-analytics', 'jetpack_google_analytics_more_info' );
676