Diff: STRATO-apps/wordpress_03/app/wp-content/plugins/wp-rocket/views/settings/partials/sidebar.php

Keine Baseline-Datei – Diff nur gegen leer.
Zur Liste
1 -
1 + <?php
2 + /**
3 + * Sidebar template.
4 + *
5 + * @since 3.0
6 + */
7 +
8 + defined( 'ABSPATH' ) || exit;
9 +
10 + ?>
11 +
12 + <h3 class="wpr-Sidebar-title wpr-title2"><?php esc_html_e( 'How to correctly measure your website’s loading time', 'rocket' ); ?></h3>
13 + <div class="wpr-Sidebar-notice">
14 + <p><?php esc_html_e( 'Check our tutorial and learn how to measure the speed of your site.', 'rocket' ); ?></p>
15 + <a href="<?php echo esc_url( 'https://wp-rocket.me/blog/how-to-test-wordpress-site-performance-measure-speed-results/?utm_source=wp_plugin&utm_medium=wp_rocket' ); ?>" target="_blank" rel="noopener" class="wpr-Sidebar-notice-link"><?php esc_html_e( 'Read our guide', 'rocket' ); ?></a>
16 + </div>
17 + <div class="wpr-Sidebar-notice">
18 + <p><?php esc_html_e( 'Learn about optimal WP Rocket settings for mobile.', 'rocket' ); ?></p>
19 + <?php
20 + $rocket_mobile_doc_url = false !== strpos( get_locale(), 'fr' )
21 + ? 'https://fr.docs.wp-rocket.me/article/1432-comment-ameliorer-score-mobile-pagespeed/?utm_source=wp_plugin&utm_medium=wp_rocket'
22 + : 'https://docs.wp-rocket.me/article/1402-how-to-improve-your-mobile-pagespeed-score/?utm_source=wp_plugin&utm_medium=wp_rocket'
23 + ?>
24 + <a href="<?php echo esc_url( $rocket_mobile_doc_url ); ?>" target="_blank" class="wpr-Sidebar-notice-link"><?php esc_html_e( 'Read our guide', 'rocket' ); ?></a>
25 + </div>
26 + <div class="wpr-Sidebar-notice">
27 + <p><?php esc_html_e( 'Test and Improve Google Core Web Vitals for WordPress.', 'rocket' ); ?></p>
28 + <a href="<?php echo esc_url( 'https://wp-rocket.me/google-core-web-vitals-wordpress/?utm_source=wp_plugin&utm_medium=wp_rocket' ); ?>" target="_blank" class="wpr-Sidebar-notice-link"><?php esc_html_e( 'Read more', 'rocket' ); ?></a>
29 + </div>
30 + <?php if ( ! get_rocket_option( 'cache_logged_user', 0 ) ) : ?>
31 + <div class="wpr-Sidebar-info">
32 + <i class="wpr-icon-information2"></i>
33 + <h4><?php esc_html_e( 'You have not activated logged-in user cache.', 'rocket' ); ?></h4>
34 + <p><?php esc_html_e( 'Use a private browser to check your website\'s speed and visual appearance.', 'rocket' ); ?></p>
35 + </div>
36 + <?php endif; ?>
37 + <?php
38 + $this->render_part( 'documentation' );
39 +