module-info.php 24 KB

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