Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/doc.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public static function full_or_partial_url( $string_only = false ) {
public static function notice_htaccess() {
echo '<span class="litespeed-primary">';
echo '⚠️ ' . esc_html__( 'This setting will edit the .htaccess file.', 'litespeed-cache' ) . ' ';
self::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/toolbox/#edit-htaccess-tab' );
self::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/toolbox/#view-htaccess-tab' );
echo '</span>';
}

Expand Down
2 changes: 1 addition & 1 deletion tpl/cache/settings-cache.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
printf(
/* translators: %s: Link tags */
esc_html__( 'Please visit the %sInformation%s page on how to test the cache.', 'litespeed-cache' ),
'<a href="https://docs.litespeedtech.com/lscache/lscwp/installation/#testing" target="_blank" rel="noopener">',
'<a href="https://docs.litespeedtech.com/lscache/lscwp/installation/#verify-your-site-is-being-cached" target="_blank" rel="noopener">',
'</a>'
);
?>
Expand Down
4 changes: 2 additions & 2 deletions tpl/cdn/cf.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<h3 class="litespeed-title-short">
<?php esc_html_e( 'Cloudflare Settings', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cdn/' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cdn/#cloudflare-tab' ); ?>
</h3>

<table class="wp-list-table striped litespeed-table">
Expand Down Expand Up @@ -161,4 +161,4 @@
<?php endif; ?>
<?php esc_html_e( 'Purge Everything', 'litespeed-cache' ); ?>
</a>
</p>
</p>
4 changes: 2 additions & 2 deletions tpl/cdn/other.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<h3 class="litespeed-title-short">
<?php esc_html_e( 'CDN Settings', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cdn/' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cdn/#other-static-cdn-tab' ); ?>
</h3>

<table class="wp-list-table striped litespeed-table">
Expand Down Expand Up @@ -207,4 +207,4 @@
</tbody>
</table>

<?php $this->form_end(); ?>
<?php $this->form_end(); ?>
1 change: 1 addition & 0 deletions tpl/cdn/qc.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
</a>
<?php endif; ?>
<span class="litespeed-quic-icon"></span> <?php esc_html_e( 'QUIC.cloud CDN Status Overview', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cdn/' ); ?>
</h3>
<p class="litespeed-desc"><?php esc_html_e( 'Check the status of your most important settings and the health of your CDN setup here.', 'litespeed-cache' ); ?></p>

Expand Down
4 changes: 2 additions & 2 deletions tpl/crawler/settings.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<h3 class="litespeed-title-short">
<?php esc_html_e( 'Crawler General Settings', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/crawler/#general-settings-tab' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/crawler/#settings-tab' ); ?>
</h3>

<table class="wp-list-table striped litespeed-table">
Expand Down Expand Up @@ -186,4 +186,4 @@
</tbody>
</table>

<?php $this->form_end(); ?>
<?php $this->form_end(); ?>
4 changes: 2 additions & 2 deletions tpl/page_optm/settings_html.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<div class="litespeed-desc">
<?php esc_html_e( 'Delay rendering off-screen HTML elements by its selector.', 'litespeed-cache' ); ?>
<?php Doc::one_per_line(); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#html-lazyload-selectors' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#html-lazy-load-selectors' ); ?>
</div>
</td>
</tr>
Expand Down Expand Up @@ -192,4 +192,4 @@
</tr>

</tbody>
</table>
</table>
4 changes: 2 additions & 2 deletions tpl/page_optm/settings_localization.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<h3 class="litespeed-title-short">
<?php esc_html_e( 'Localization Settings', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#localization-settings-tab' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#localization-tab' ); ?>
</h3>

<table class="wp-list-table striped litespeed-table"><tbody>
Expand Down Expand Up @@ -111,7 +111,7 @@
<?php $this->build_switch( $option_id ); ?>
<div class="litespeed-desc">
<?php esc_html_e( 'Localize external resources.', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#localize' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#localize-resources' ); ?>

<br /><font class="litespeed-danger">
🚨 <?php printf( esc_html__( 'Please thoroughly test all items in %s to ensure they function as expected.', 'litespeed-cache' ), '<code>' . esc_html( Lang::title( Base::O_OPTM_LOCALIZE_DOMAINS ) ) . '</code>' ); ?>
Expand Down
4 changes: 2 additions & 2 deletions tpl/page_optm/settings_tuning.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
?>
<h3 class="litespeed-title-short">
<?php esc_html_e( 'Tuning Settings', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#tuning-settings-tab' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#tuning-tab' ); ?>
</h3>

<table class="wp-list-table striped litespeed-table">
Expand Down Expand Up @@ -166,4 +166,4 @@
</tr>

</tbody>
</table>
</table>
6 changes: 3 additions & 3 deletions tpl/page_optm/settings_tuning_css.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
?>
<h3 class="litespeed-title-short">
<?php esc_html_e( 'Tuning CSS Settings', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#tuning-css-settings-tab' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#tuning-css-tab' ); ?>
</h3>

<table class="wp-list-table striped litespeed-table">
Expand Down Expand Up @@ -112,7 +112,7 @@
<div class="litespeed-desc">
<?php esc_html_e( 'List post types where each item of that type should have its own CCSS generated.', 'litespeed-cache' ); ?>
<?php printf( esc_html__( 'For example, if every Page on the site has different formatting, enter %s in the box. Separate critical CSS files will be stored for every Page on the site.', 'litespeed-cache' ), '<code>page</code>' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#separate-ccss-cache-post-types_1' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#separate-ccss-cache-post-types' ); ?>
</div>
</td>
</tr>
Expand Down Expand Up @@ -169,4 +169,4 @@
</td>
</tr>

</tbody></table>
</tbody></table>
4 changes: 2 additions & 2 deletions tpl/page_optm/settings_vpi.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<h3 class="litespeed-title-short">
<?php esc_html_e( 'Viewport Images', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#vpi-settings-tab' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/pageopt/#vpi' ); ?>
</h3>

<table class="wp-list-table striped litespeed-table">
Expand Down Expand Up @@ -124,4 +124,4 @@
</td>
</tr>
</tbody>
</table>
</table>
4 changes: 2 additions & 2 deletions tpl/presets/standard.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

<h3 class="litespeed-title-short">
<?php esc_html_e( 'LiteSpeed Cache Standard Presets', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/presets/#standard-tab' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/presets/#standard-presets-tab' ); ?>
</h3>

<p><?php esc_html_e( 'Use an official LiteSpeed-designed Preset to configure your site in one click. Try no-risk caching essentials, extreme optimization, or something in between.', 'litespeed-cache' ); ?></p>
Expand Down Expand Up @@ -195,4 +195,4 @@ class="litespeed-left10"
<?php esc_html_e( 'Restore Settings', 'litespeed-cache' ); ?>
</a>
</p>
<?php endforeach; ?>
<?php endforeach; ?>
Loading