| = __('Auto-Updates:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $authorized ? 'exclamation-circle' : 'check' ) ?> |
= ! $authorized ? __('Not set', 'LayerSlider') : __('Activated', 'LayerSlider') ?> |
= __('Register your LayerSlider license for auto-updates so you can always use the latest release with all the new features and bug fixes.') ?>
= __('Learn More', 'LayerSlider') ?>
= __('Register License', 'LayerSlider') ?>
= __('Get License', 'LayerSlider') ?>
|
=' ); ?>
| = __('LayerSlider version:', 'LayerSlider') ?> |
= lsGetSVGIcon( !$test ? 'exclamation-circle' : 'check' ) ?> |
= LS_PLUGIN_VERSION ?> |
= sprintf( __('Update to latest version (%1$s), as we are constantly working on new features, improvements and bug fixes.', 'LayerSlider'), $latest) ?>
|
| = __('WordPress version:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= get_bloginfo('version') ?> |
= sprintf( __('Update WordPress to a newer version to ensure compatibility.', 'LayerSlider'), $latest) ?>
|
= 200 && $response['response']['code'] < 300 );
?>
| = __('WP Remote functions:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= ! $test ? __('Blocked', 'LayerSlider') : __('OK', 'LayerSlider') ?> |
= sprintf( __('Failed to connect to our update server. This could cause issues with license registration, serving updates, downloading templates and installable modules, and displaying certain information like the release log. It’s most likely a web server configuration issue. Please contact your server host and ask them to allow external connections to %srepository.kreaturamedia.com%s domain and have cURL and the necessary components installed.', 'LayerSlider'), '', '' ) ?>
|
| = __('LayerSlider database:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= ! $test ? __('Error', 'LayerSlider') : __('OK', 'LayerSlider') ?> |
= __('Your database needs an update in order for LayerSlider to work properly. Please press the ’Update Database’ button below. If this does not help, you need to contact your web server hosting company to fix any issue preventing plugins from creating and updating database tables.', 'LayerSlider') ?>
= __('Clear Groups', 'LayerSlider') ?>
= __('Update Database', 'LayerSlider') ?>
|
| = __('Install Location', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= ! $test ? __('Non-standard', 'LayerSlider') : __('OK', 'LayerSlider') ?> |
= __('Using LayerSlider from a non-standard install location or having a different directory name could lead issues in receiving and installing updates. Commonly, you see this issue when you’re using a theme-included version of LayerSlider. To fix this, please first search for an option to disable/unload the bundled version in your theme, then re-install a fresh copy. Your projects and settings are stored in the database, re-installing the plugin will not harm them.', 'LayerSlider') ?>
|
| = __('Uploads directory:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= ! $test ? __('Inaccessible', 'LayerSlider') : __('OK', 'LayerSlider') ?> |
= __('LayerSlider uses the uploads directory for image uploads, exporting/importing projects, and downloading modules. Make sure that your /wp-content/uploads/ directory exists and has write permission.', 'LayerSlider') ?>
= __('Learn More', 'LayerSlider') ?>
|
$plugin) {
if(
stripos( $plugin['Name'], 'cache' ) !== false ||
stripos( $plugin['Name'], 'Cachify' ) !== false ||
stripos( $plugin['Name'], 'Optimi' ) !== false ||
stripos( $plugin['Name'], 'WP Rocket' ) !== false
) {
$cachePlugs[] = $plugin['Name'];
}
}
$test = empty( $cachePlugs );
?>
| = __('Cache plugins', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-circle' : 'check' ) ?> |
= ! $test ? implode(', ', $cachePlugs) : __('Not found', 'LayerSlider') ?> |
= __('The listed plugin(s) may prevent edits and other changes to show up on your site in real-time. Empty your caches if you experience any issue.', 'LayerSlider') ?>
|
[
'default' => false,
'name' => __('Use markup caching', 'LayerSlider'),
'message' => __('Although markup caching can increase performance, it can also interfere with localization and translation plugins or whenever LayerSlider needs to serve alternating content based on external factors. We recommend disabling this setting and using a site-wide caching plugin. This helps avoid issues while still achieving the same performance gains.', 'LayerSlider')
],
'clear_3rd_party_caches' => [
'default' => true,
'name' => __('Clear 3rd party caches', 'LayerSlider'),
'message' => __('Enabling this option can ensure that changes to your projects are always reflected on front-end pages when using popular caching plugins.', 'LayerSlider')
],
'admin_no_conflict_mode' => [
'default' => false,
'name' => __('No-conflict mode', 'LayerSlider'),
'message' => __('While “No-conflict mode” can help with issues caused by 3rd parties, it can just as easily break your site. This option should remain disabled in most cases unless you experience problems without it.', 'LayerSlider')
],
'gsap_sandboxing' => [
'default' => true,
'name' => __('Use GreenSock (GSAP) sandboxing', 'LayerSlider'),
'message' => __('GreenSock is a popular animation engine used by many. Enabling sandboxing helps avoid issues when 3rd parties like other plugins and WordPress themes are also using GreenSock.', 'LayerSlider')
],
'use_custom_jquery' => [
'default' => false,
'name' => __('Use Google CDN version of jQuery', 'LayerSlider'),
'message' => __('This setting should be used in very special cases only as it can break otherwise functioning sites.', 'LayerSlider')
]
];
$issues = [];
foreach( $tests as $option => $details ) {
if( $details['default'] != get_option( 'ls_'.$option, $details['default'] ) ) {
$issues[] = $details;
}
}
$test = empty( $issues );
?>
| = __('Recommended settings:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= ! $test ? __('Warning', 'LayerSlider') : __('OK', 'LayerSlider') ?> |
= __('The following LayerSlider settings deviate from what’s recommended. These settings can cause all sorts of issues if misused, but they can also be necessary in cases. If you’re experiencing problems, we encourage reverting to the recommended settings with the button below. This action will not touch your projects, so you don’t have to worry about data loss.', 'LayerSlider') ?>
', $issue['name'], ' ', $issue['message'], '';
}
}
?>
= __('Use Recommended Settings', 'LayerSlider') ?>
|
| = __('LocalStorage', 'LayerSlider') ?> |
= lsGetSVGIcon('info-circle') ?> |
= __('Info', 'LayerSlider') ?> |
= __('If you experience issues in the project editor, especially a broken interface, clearing the web browser’s LocalStorage might help resolve that.', 'LayerSlider') ?>
= __('Clear LocalStorage', 'LayerSlider') ?>
|
| = __('WP Debug Mode:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'info-circle' : 'check' ) ?> |
= ! $test ? __('Disabled', 'LayerSlider') : __('Enabled', 'LayerSlider') ?> |
= __('If you experience any issue, we recommend enabling the WP Debug mode while debugging.', 'LayerSlider') ?>
= __('Learn More', 'LayerSlider') ?>
|
=' ); ?>
| = __('PHP Version:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= phpversion() ?> |
= __('LayerSlider requires PHP 5.4.0 or newer. Please contact your host and ask them to upgrade PHP on your web server. Alternatively, they often offer a customer dashboard for their services, which might also provide an option to choose your preferred PHP version.', 'LayerSlider') ?>
|
0 && $timeout < 60 ); ?>
| = __('PHP Time Limit:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= ! empty( $timeout ) ? $timeout.'s' : __('No limit', 'LayerSlider') ?> |
= __('PHP max. execution time should be set to at least 60 seconds or higher when importing large projects. Please contact your host and ask them to change this PHP setting on your web server accordingly.', 'LayerSlider') ?>
|
0 && $memoryB < 64 * 1000 * 1000 ); ?>
| = __('PHP Memory Limit:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= $memory ?> |
= __('PHP memory limit should be set to at least 64MB or higher when dealing with large projects. Please contact your host and ask them to change this PHP setting on your web server accordingly.', 'LayerSlider') ?>
|
16 * 1000 * 1000; ?>
| = __('PHP Post Max Size:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= ini_get('post_max_size') ?> |
= __('Importing larger projects could be problematic in some cases. This option is needed to upload large files. We recommend to set it to at least 16MB or higher. Please contact your host and ask them to change this PHP setting on your web server accordingly.', 'LayerSlider') ?>
|
16 * 1000 * 1000; ?>
| = __('PHP Max Upload Size:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= ini_get('upload_max_filesize') ?> |
= __('Importing larger projects could be problematic in some cases. This option is needed to upload large files. We recommend to set it to at least 16MB or higher. Please contact your host and ask them to change this PHP setting on your web server accordingly.', 'LayerSlider') ?>
|
| = __('Suhosin:', '') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-circle' : 'check' ) ?> |
= ! $test ? __('Active', 'LayerSlider') : __('Not found', 'LayerSlider'); ?> |
= __('Suhosin may override PHP server settings that are otherwise marked OK here. If you experience issues, please contact your web hosting company and ask them to verify the listed server settings.', 'LayerSlider') ?>
|
| = __('PHP ZipArchive Extension:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-circle' : 'check' ) ?> |
= ! $test ? __('Disabled', 'LayerSlider') : __('Enabled', 'LayerSlider'); ?> |
= __('The PHP ZipArchive extension is needed to export projects. Please note, this is *NOT* the equivalent of the PEAR Archive_Zip package. The two are different, and hosting companies usually don’t offer a way to make this change on your own. Please contact your server hosting company and ask them to enable PHP’s ZipArchive extension.', 'LayerSlider') ?>
|
| = __('PHP DOMDocument Extension:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= ! $test ? __('Disabled', 'LayerSlider') : __('Enabled', 'LayerSlider') ?> |
= __('Front-end projects and the editor interface require the PHP DOMDocument extension and will not work properly without it. Please contact your web hosting company and ask them enable the PHP DOMDocument extension.', 'LayerSlider') ?>
|
| = __('PHP Multibyte String Extension:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= ! $test ? __('Disabled', 'LayerSlider') : __('Enabled', 'LayerSlider') ?> |
= __('The lack of PHP “mbstring” extension can lead to unexpected issues. Contact your server hosting provider and ask them to install/enable this extension.', 'LayerSlider') ?>
|
| = __('PHP Multibyte Regex Functions:', 'LayerSlider') ?> |
= lsGetSVGIcon( ! $test ? 'exclamation-triangle' : 'check' ) ?> |
= ! $test ? __('Disabled', 'LayerSlider') : __('Enabled', 'LayerSlider') ?> |
= __('The lack of PHP “mbregex” module can lead to unexpected issues. Contact your server hosting provider and ask them to install/enable this module.', 'LayerSlider') ?>
|