PluginProbe
Polylang / trunk
Polylang vtrunk
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
polylang / src / modules / wizard / view-wizard-step-last.php

view-wizard-step-last.php in Polylang trunk, at src/modules/wizard/view-wizard-step-last.php

113 lines 4.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Displays the wizard last step
4 *
5 * @package Polylang
6 *
7 * @since 2.7
8 */
9
10 defined( 'ABSPATH' ) || exit;
11
12 ?>
13 <h2><?php esc_html_e( "You're ready to translate your contents!", 'polylang' ); ?></h2>
14
15 <div class="documentation">
16 <p><?php esc_html_e( "You're now able to translate your contents such as posts, pages, categories and tags. You can learn how to use Polylang by reading the documentation.", 'polylang' ); ?></p>
17 <div class="documentation-container">
18 <p class="pll-wizard-actions step documentation-button-container">
19 <a
20 class="button button-primary button-large documentation-button"
21 href="https://polylang.pro/documentation/support/getting-started/"
22 target="blank"
23 >
24 <?php esc_html_e( 'Read documentation', 'polylang' ); ?>
25 </a>
26 </p>
27 </div>
28 </div>
29
30 <ul class="pll-wizard-next-steps">
31 <li class="pll-wizard-next-step-item">
32 <div class="pll-wizard-next-step-description">
33 <p class="next-step-heading"><?php esc_html_e( 'Next step', 'polylang' ); ?></p>
34 <h3 class="next-step-description"><?php esc_html_e( 'Create menus', 'polylang' ); ?></h3>
35 <p class="next-step-extra-info">
36 <?php esc_html_e( 'To get your website ready, there are still two steps you need to perform manually: add menus in each language, and add a language switcher to allow your visitors to select their preferred language.', 'polylang' ); ?>
37 </p>
38 </div>
39 <div class="pll-wizard-next-step-action">
40 <p class="pll-wizard-actions step">
41 <a class="button button-primary button-large" href="https://polylang.pro/documentation/support/getting-started/create-menus/">
42 <?php esc_html_e( 'Read documentation', 'polylang' ); ?>
43 </a>
44 </p>
45 </div>
46 </li>
47 <li class="pll-wizard-next-step-item">
48 <div class="pll-wizard-next-step-description">
49 <p class="next-step-heading"><?php esc_html_e( 'Next step', 'polylang' ); ?></p>
50 <h3 class="next-step-description"><?php esc_html_e( 'Translate some pages', 'polylang' ); ?></h3>
51 <p class="next-step-extra-info"><?php esc_html_e( "You're ready to translate the posts on your website.", 'polylang' ); ?></p>
52 </div>
53 <div class="pll-wizard-next-step-action">
54 <p class="pll-wizard-actions step">
55 <a class="button button-large" href="<?php echo esc_url( admin_url( 'edit.php?post_type=page' ) ); ?>">
56 <?php esc_html_e( 'View pages', 'polylang' ); ?>
57 </a>
58 </p>
59 </div>
60 </li>
61 <?php if ( ! defined( 'POLYLANG_PRO' ) && ! defined( 'WOOCOMMERCE_VERSION' ) ) : ?>
62 <li class="pll-wizard-next-step-item">
63 <div class="pll-wizard-next-step-description">
64 <p class="next-step-heading"><?php esc_html_e( 'Polylang Pro', 'polylang' ); ?></p>
65 <h3 class="next-step-description"><?php esc_html_e( 'Upgrade to Polylang Pro', 'polylang' ); ?></h3>
66 <p class="next-step-extra-info">
67 <?php esc_html_e( 'Thank you for activating Polylang. If you want more advanced features - duplication, synchronization, REST API support, integration with other plugins, etc. - or further help provided by our Premium support, we recommend you upgrade to Polylang Pro.', 'polylang' ); ?>
68 </p>
69 </div>
70 <div class="pll-wizard-next-step-action">
71 <p class="pll-wizard-actions step">
72 <a class="button button-primary button-large" href="https://polylang.pro/pricing/polylang-pro/">
73 <?php esc_html_e( 'Buy now', 'polylang' ); ?>
74 </a>
75 </p>
76 </div>
77 </li>
78 <?php endif; ?>
79 <?php if ( ! defined( 'POLYLANG_PRO' ) && defined( 'WOOCOMMERCE_VERSION' ) && ! defined( 'PLLWC_VERSION' ) ) : ?>
80 <li class="pll-wizard-next-step-item">
81 <div class="pll-wizard-next-step-description">
82 <p class="next-step-heading"><?php esc_html_e( 'WooCommerce', 'polylang' ); ?></p>
83 <h3 class="next-step-description"><?php esc_html_e( 'Purchase Polylang Business Pack', 'polylang' ); ?></h3>
84 <p class="next-step-extra-info">
85 <?php
86 printf(
87 /* translators: %s is the name of Polylang Business Pack product */
88 esc_html__( 'We have noticed that you are using Polylang with WooCommerce. To ensure a better compatibility, we recommend you use %s which includes both Polylang Pro and Polylang For WooCommerce.', 'polylang' ),
89 '<strong>' . esc_html__( 'Polylang Business Pack', 'polylang' ) . '</strong>'
90 );
91 ?>
92 </p>
93 </div>
94 <div class="pll-wizard-next-step-action">
95 <p class="pll-wizard-actions step">
96 <a class="button button-primary button-large" href="https://polylang.pro/pricing/polylang-for-woocommerce/">
97 <?php esc_html_e( 'Buy now', 'polylang' ); ?>
98 </a>
99 </p>
100 </div>
101 </li>
102 <?php endif; ?>
103 <li class="pll-wizard-additional-steps">
104 <div class="pll-wizard-next-step-action">
105 <p class="pll-wizard-actions step">
106 <a class="button button-large" href="<?php echo esc_url( admin_url() ); ?>">
107 <?php esc_html_e( 'Return to the Dashboard', 'polylang' ); ?>
108 </a>
109 </p>
110 </div>
111 </li>
112 </ul>
113