2026-02-05 17:08:59 +03:00

72 lines
4.0 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$wp_rocket = new Onecom_Wp_Rocket();
$wp_rocket_addon_info = $wp_rocket->wp_rocket_addon_info( true );
if ( ! defined( 'WP_ROCKET_BUTTON_LABEL' ) ) {
define( 'WP_ROCKET_BUTTON_LABEL', 'Get WP Rocket' );
}
$wp_rocket_icon = ONECOM_WP_URL . 'modules/wp-rocket/assets/images/wp-rocket-icon.svg';
$checklist_icon = ONECOM_WP_URL . 'modules/wp-rocket/assets/images/check-list.svg';
$addon_slug = "wp-rocket";
$transient_key = "{$addon_slug}_activation_start_at";
// Get the start time from transient
$start_time = get_site_transient( $transient_key );
?>
<!-- Main Wrapper "wp-rocket" -->
<div class="wrap2 gv-activated wpr-container" data-activation-state="<?php echo $start_time;?>">
<div class="inner-wrapper gv-p-fluid gv-pt-0 gv-pb-0">
<!-- Notice area -->
<?php
if(!$wp_rocket->is_wp_rocket_active() && $wp_rocket->is_wp_rocket_addon_purchased() && !$start_time){
$wp_rocket->get_wpr_activate_info();
}
$wp_rocket->get_wpr_in_progress_notice();
$wp_rocket->get_wpr_error_notice();
$wp_rocket->get_wpr_success_notice();
?>
<!-- Notice area End -->
<article class="gv-layout-product gv-product-single gv-w-max-container gv-mx-auto gv-pl-lg2 gv-pr-fluid2">
<!-- header section -->
<header class="gv-product-header gv-area-header wpr-section-header">
<div class="gv-content gv-stack-space-md gv-text-sm">
<h3><?php echo __('Speed up your site', 'onecom-wp'); ?></h3>
<p class="gv-text-sm"><?php echo __('Improve your website performance with the best WordPress caching plugin out there. Get it here and save 40% of the regular price.', 'onecom-wp'); ?></p>
</div>
<div class="gv-image gv-p-fluid gv-text-center wpr-img-container">
<img src="<?php echo ONECOM_WP_URL . "modules/wp-rocket/assets/images/wp-rocket-v2.svg";?>" alt="<?php echo __('WP Rocket', 'onecom-wp'); ?>" class="gv-p-lg gv-max-mob-p-0 gv-max-tab-p-0" />
<img src="<?php echo ONECOM_WP_URL . "modules/wp-rocket/assets/images/wpr-tablet.svg";?>" alt="<?php echo __('WP Rocket', 'onecom-wp'); ?>" class="gv-p-lg gv-max-mob-p-0 gv-max-tab-p-0" />
</div>
</header>
<!-- header section end -->
<!-- Pricing section -->
<?php $wp_rocket->wp_rocket_pricing_table();?>
<!-- Pricing section End -->
<!-- desc section -->
<div class="gv-area-details gv-grid gv-gap-lg">
<section class="gv-stack-space-md">
<h2 class="gv-title gv-text-bold gv-text-lg"><?php echo __('Key benefits', 'onecom-wp'); ?></h2>
<ul class="gv-list-items2 gv-list-check gv-mode-condensed key-benefits">
<li class="gv-text-sm gv-mb-md"><?php echo __('WP Rocket is one.coms trusted partner and works seamlessly with our plugins and services.', 'onecom-wp'); ?></li>
<li class="gv-text-sm gv-mb-md"><?php echo __('Instantly improve your websites loading speed and Core Web Vitals scores.', 'onecom-wp'); ?></li>
<li class="gv-text-sm"><?php echo __('Immediately apply 80% of best practices for web performance by completing the easy setup.', 'onecom-wp'); ?></li>
</ul>
</section>
<section class="gv-text-max gv-text-sm gv-stack-space-md">
<h2 class="gv-title gv-text-bold gv-text-lg"><?php echo __('Make your WordPress website faster - quickly and easily', 'onecom-wp'); ?></h2>
<p class="gv-text-sm gv-mb-lg">
<?php echo __('Todays visitors expect your website to load instantly so speed is no longer optional. Even shaving off a few milliseconds can boost your conversion rates and lift your search engine rankings.', 'onecom-wp'); ?>
</p>
<p class="gv-text-sm">
<?php echo __('Thats where WP Rocket comes in. It empowers anyone to supercharge their websites performance and SEO. Whether you\'re a blogger eager for a lightning-fast blog, a freelancer or agency building high-performing sites for clients, or an e-commerce brand focused on delivering a seamless shopping experience, WP Rocket gives you the tools to make it happen. Fast, easy, effective and no coding required.', 'onecom-wp'); ?>
</p>
</section>
</div>
<!-- desc section End -->
</article>
</div>
</div>
<div class="clear"> </div>