Completed
Push — update/invite-user-sync-events ( 1f15ba...aaac64 )
by
unknown
08:25
created

module-info.php ➔ jetpack_lazy_images_more_info()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

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