plugin updates
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
|
||||
?>
|
||||
|
||||
<div class="imagify-admin-bar-quota">
|
||||
<div class="imagify-abq-row">
|
||||
<?php if ( $data['plan_with_quota'] ) : ?>
|
||||
@@ -35,7 +34,7 @@ defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
|
||||
<?php endif; ?>
|
||||
<p><?php echo $data['text']; ?></p>
|
||||
<p class="center txt-center text-center"><a class="imagify-upsell-admin-bar-button" href="<?php echo esc_url( $data['upgrade_link'] ); ?>" target="_blank"><?php echo $data['button_text']; ?></a></p>
|
||||
<a href="<?php echo esc_url( get_imagify_admin_url( 'dismiss-notice', 'upsell-admin-bar' ) ); ?>" class="imagify-notice-dismiss imagify-upsell-dismiss" title="<?php esc_attr_e( 'Dismiss this notice', 'imagify' ); ?>"><span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice', 'imagify' ); ?></span></a>
|
||||
<a href="<?php echo esc_url( get_imagify_admin_url( 'dismiss-notice', 'upsell-admin-bar' ) ); ?>" class="imagify-notice-dismiss imagify-upsell-dismiss notice-dismiss" title="<?php esc_attr_e( 'Dismiss this notice', 'imagify' ); ?>"><span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice', 'imagify' ); ?></span></a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
@@ -26,12 +26,10 @@ defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
|
||||
<p>
|
||||
<span class="imagify-border-styled">
|
||||
<?php
|
||||
$attachments_number = imagify_count_attachments() + Imagify_Files_Stats::count_all_files();
|
||||
|
||||
printf(
|
||||
/* translators: %s is a formatted number (don't use %d). */
|
||||
_n( 'You have %s original image', 'You have %s original images', $attachments_number, 'imagify' ),
|
||||
'</span><span class="imagify-big-number">' . number_format_i18n( $attachments_number ) . '</span><span class="imagify-border-styled">'
|
||||
_n( 'You have %s original image', 'You have %s original images', $data['attachments_number'], 'imagify' ),
|
||||
'</span><span class="imagify-big-number">' . number_format_i18n( $data['attachments_number'] ) . '</span><span class="imagify-border-styled">'
|
||||
);
|
||||
?>
|
||||
</span>
|
||||
@@ -125,13 +123,7 @@ defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
|
||||
</span>
|
||||
|
||||
<p class="imagify-price-complement">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s is a formatted price. */
|
||||
__( '%s per<br>additional Gb', 'imagify' ),
|
||||
'<span class="imagify-price-add-data"></span>'
|
||||
);
|
||||
?>
|
||||
<span class="imagify-price-add-data"></span>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
@@ -219,7 +211,7 @@ defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
|
||||
?>
|
||||
|
||||
<div class="imagify-modal-views imagify-plans-selection-view" id="imagify-plans-selection-view" aria-hidden="true">
|
||||
<p class="imagify-modal-title"><?php _e( 'Choose a plan', 'imagify' ); ?></p>
|
||||
<p class="imagify-modal-title"><?php _e( 'Choose the Perfect Plan for Your Needs', 'imagify' ); ?></p>
|
||||
<ul class="imagify-tabs" role="tablist">
|
||||
<li class="imagify-tab imagify-current">
|
||||
<a href="#imagify-pricing-tab-monthly" role="tab" aria-controls="imagify-pricing-tab-monthly" aria-selected="true">
|
||||
@@ -237,26 +229,36 @@ defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
|
||||
|
||||
<div class="imagify-tab-content imagify-current" id="imagify-pricing-tab-monthly" role="tabpanel">
|
||||
|
||||
<div class="imagify-modal-section section-gray">
|
||||
<p><?php esc_html_e( 'Monthly plans come with credits which is renewed every months. The billing happens automatically each month or year depending the billing period you choose.', 'imagify' ); ?></p>
|
||||
<div class="imagify-modal-section">
|
||||
<p><?php esc_html_e( 'Pick the plan that fits your image optimization goals and unlock the full potential of Imagify!', 'imagify' ); ?></p>
|
||||
</div>
|
||||
|
||||
<?php $this->print_template( 'part-settings-discount-banner' ); ?>
|
||||
|
||||
<div class="imagify-inline-options imagify-small-options imagify-radio-line">
|
||||
<input id="imagify-pricing-montly" type="radio" value="monthly" name="plan-pricing" checked="checked">
|
||||
<label for="imagify-pricing-montly"><?php esc_html_e( 'Monthly', 'imagify' ); ?></label>
|
||||
<div class="imagify-toggle-container">
|
||||
<span class="imagify-toggle-label">Monthly</span>
|
||||
<label class="imagify-switch">
|
||||
<input type="checkbox" id="imagify-toggle-plan">
|
||||
<span class="imagify-slider"></span>
|
||||
</label>
|
||||
<span class="imagify-toggle-label">Yearly</span>
|
||||
<div class="imagify-arrow-container">
|
||||
<img src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2765%27 height=%2729%27 fill=%27none%27%3E%3Cpath fill=%27%23B8BFC5%27 d=%27M1.566 14.504a.5.5 0 0 0-.562.43l-.594 4.46a.5.5 0 1 0 .99.133l.53-3.965 3.964.528a.5.5 0 0 0 .133-.99l-4.46-.596Zm40.077-1.475.495-.07-.495.07ZM64.5 1a.5.5 0 0 0-1 0h1ZM32.616 13.054l-.47.17.47-.17Zm-31.513 2.25C7.708 23.94 18.576 28.252 27.473 28c4.45-.125 8.465-1.395 11.202-3.904 2.758-2.527 4.158-6.255 3.463-11.138l-.99.141c.654 4.599-.664 7.983-3.148 10.26-2.505 2.295-6.258 3.52-10.555 3.642-8.6.243-19.153-3.942-25.548-12.305l-.794.608Zm41.035-2.346c-.413-2.903-1.816-4.72-3.496-5.83l-.551.833c1.448.957 2.685 2.526 3.057 5.138l.99-.14Zm-9.992.267c1.477 4.073 4.263 6.62 7.615 7.806 3.338 1.18 7.203 1 10.855-.299C57.919 18.135 64.5 11.018 64.5 1h-1c0 9.537-6.257 16.314-13.219 18.79-3.48 1.238-7.105 1.388-10.187.298-3.067-1.085-5.632-3.41-7.008-7.204l-.94.34Zm6.496-6.098c-1.925-1.272-3.97-.785-5.3.538-1.316 1.308-1.962 3.45-1.197 5.56l.94-.341c-.624-1.723-.095-3.46.962-4.51 1.042-1.036 2.568-1.388 4.044-.413l.551-.834Z%27/%3E%3C/svg%3E" />
|
||||
<img src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2766%27 height=%2729%27 fill=%27none%27%3E%3Cpath fill=%27%238BC34A%27 d=%27M2.632 14.009a1 1 0 0 0-1.123.859l-1.19 8.92a1 1 0 0 0 1.983.265l1.057-7.93 7.93 1.058a1 1 0 1 0 .264-1.983l-8.92-1.19Zm40.01-.98.99-.141-.99.14ZM66 1a1 1 0 1 0-2 0h2ZM33.616 13.054l-.94.341.94-.34Zm-31.91 2.553c6.71 8.775 17.736 13.149 26.78 12.893 4.528-.128 8.673-1.42 11.527-4.035 2.894-2.652 4.335-6.552 3.62-11.577l-1.98.282c.634 4.456-.643 7.669-2.991 9.82-2.389 2.189-6.01 3.392-10.232 3.511-8.451.239-18.846-3.883-25.136-12.109l-1.588 1.216Zm41.927-2.719c-.434-3.05-1.92-4.991-3.715-6.178l-1.103 1.668c1.332.88 2.487 2.325 2.838 4.792l1.98-.282Zm-10.958.507c1.529 4.213 4.425 6.871 7.92 8.107 3.466 1.226 7.45 1.03 11.188-.299C59.257 18.546 66 11.258 66 1h-2c0 9.296-6.095 15.904-12.887 18.319-3.394 1.207-6.899 1.342-9.852.297-2.925-1.034-5.38-3.248-6.705-6.903l-1.88.682Zm7.243-6.685c-2.15-1.421-4.454-.866-5.929.6-1.446 1.438-2.149 3.782-1.313 6.085l1.88-.682c-.555-1.529-.083-3.063.844-3.985.898-.893 2.164-1.176 3.415-.35l1.103-1.668Z%27/%3E%3C/svg%3E" />
|
||||
</div>
|
||||
<div class="imagify-badge-container">
|
||||
<span class="imagify-badge">2 MONTHS FREE</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input id="imagify-pricing-yearly" type="radio" value="yearly" name="plan-pricing">
|
||||
<label for="imagify-pricing-yearly"><?php esc_html_e( 'Yearly', 'imagify' ); ?><span class="imagify-2-free imagify-b-right"><?php esc_html_e( '2 months free', 'imagify' ); ?></span></label>
|
||||
</div><!-- .imagify-radio-line -->
|
||||
|
||||
|
||||
<div class="imagify-pricing-table imagify-month-selected">
|
||||
<div class="imagify-pricing-table imagify-month-selected" id="imagify_all_plan_view">
|
||||
|
||||
<script type="text/html" id="imagify-offer-monthly-template"><div class="imagify-offer-line imagify-offer-monthlies imagify-flex-table">
|
||||
<div class="imagify-col-details imagify-col-label">
|
||||
<p class="imagify-label-plans"></p>
|
||||
</div>
|
||||
<div class="imagify-col-details">
|
||||
<p class="imagify-label">
|
||||
<p>
|
||||
<span class="imagify-the-offer">
|
||||
<span class="imagify-offer-size"></span>
|
||||
<span class="imagify-offer-by"><?php esc_html_e( '/month', 'imagify' ); ?></span>
|
||||
@@ -277,8 +279,8 @@ defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
|
||||
<span class="imagify-dollars">$</span>
|
||||
<span class="imagify-number-block">
|
||||
<span class="imagify-switch-my"></span>
|
||||
<span class="imagify-price-by"><?php esc_html_e( '/month', 'imagify' ); ?></span>
|
||||
</span>
|
||||
<span class="imagify-price-by"><?php esc_html_e( '/month', 'imagify' ); ?></span>
|
||||
</span>
|
||||
|
||||
<span class="imagify-recommend" aria-hidden="true"><?php esc_html_e( 'We recommend for you', 'imagify' ); ?></span>
|
||||
@@ -287,7 +289,7 @@ defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s is a formatted price. */
|
||||
__( '%s per<br>additional Gb', 'imagify' ),
|
||||
__( 'Unlimited upload size<br />Unlimited websites<br />%s', 'imagify' ),
|
||||
'<span class="imagify-price-add-data"></span>'
|
||||
);
|
||||
?>
|
||||
@@ -295,23 +297,13 @@ defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
|
||||
|
||||
</div><!-- .imagify-col-price -->
|
||||
|
||||
<div class="imagify-col-other-actions">
|
||||
<div class="imagify-col-other-actions imagify-choose-plan-col">
|
||||
<button type="button" class="button imagify-button-secondary mini imagify-payment-btn-select-plan"><?php esc_html_e( 'Choose plan', 'imagify' ); ?></button>
|
||||
</div>
|
||||
</div><!-- .imagify-offer-line --></script>
|
||||
</div><!-- .imagify-pricing-table -->
|
||||
|
||||
<div class="imagify-cols">
|
||||
<div class="imagify-col imagify-txt-start">
|
||||
<p class="imagify-special-needs">
|
||||
<strong><?php esc_html_e( 'Need more?', 'imagify' ); ?></strong>
|
||||
<span><?php esc_html_e( 'for special needs', 'imagify' ); ?></span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="imagify-col imagify-txt-end">
|
||||
<p><a class="button imagify-button-ghost imagify-button-medium imagify-mt1 imagify-mb1 imagify-mr1" href="<?php echo esc_html( imagify_get_external_url( 'contact' ) ); ?>" target="_blank"><i class="dashicons dashicons-email" aria-hidden="true"></i> <?php esc_html_e( 'Contact Us', 'imagify' ); ?></a></p>
|
||||
</div>
|
||||
</div>
|
||||
<p class="imagify-footer-lines">You can upgrade, downgrade or cancel your plan at any time!</p>
|
||||
|
||||
</div><!-- .imagify-tab-content -->
|
||||
<div class="imagify-tab-content" id="imagify-pricing-tab-onetime" role="tabpanel">
|
||||
@@ -387,46 +379,6 @@ defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
|
||||
|
||||
</div><!-- .imagify-modal-main -->
|
||||
|
||||
<div class="imagify-modal-sidebar">
|
||||
<div class="imagify-modal-sidebar-content imagify-txt-start">
|
||||
<p class="imagify-modal-sidebar-title"><?php esc_html_e( 'What do our users think about Imagify', 'imagify' ); ?></p>
|
||||
|
||||
<div class="imagify-modal-testimony">
|
||||
<div class="imagify-modal-testimony-person">
|
||||
<span class="imagify-modal-avatar">
|
||||
<img src="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>pic-srhdesign.jpg" alt="">
|
||||
</span>
|
||||
<p class="imagify-modal-identity">
|
||||
<a href="https://twitter.com/SRHDesign/status/686486119249260544" target="_blank">@SRHDesign</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="imagify-modal-testimony-content">
|
||||
<p>@imagify is an awesome tool that is powerful & easy to use. It's fast, rivals and surpasses other established plugins/software. Awesome!</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="imagify-modal-testimony">
|
||||
<div class="imagify-modal-testimony-person">
|
||||
<span class="imagify-modal-avatar">
|
||||
<img src="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>pic-ericwaltr.jpg" alt="">
|
||||
</span>
|
||||
<p class="imagify-modal-identity">
|
||||
<a href="https://twitter.com/EricWaltR/status/679053496382038016" target="_blank">@EricWaltr</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="imagify-modal-testimony-content">
|
||||
<p>Clearly @imagify is the most awesome tool to compress images on your website! A must try</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="imagify-modal-sidebar-trust imagify-txt-center">
|
||||
<p class="imagify-secondary">
|
||||
<img src="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>icon-lock.png" srcset="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>icon-lock.svg 2x" width="16" height="19" alt=""> <?php esc_html_e( 'Secure Credit Card Payment', 'imagify' ); ?></p>
|
||||
<p><?php esc_html_e( 'This is secure 128-bits SSL encrypted payment', 'imagify' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- .imagify-modal-sidebar -->
|
||||
|
||||
<div class="imagify-modal-loader"></div>
|
||||
</div><!-- .imagify-modal-content-->
|
||||
</div><!-- .imagify-payment-modal -->
|
||||
|
||||
@@ -160,8 +160,6 @@ defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
|
||||
</div><!-- .imagify-settings-section -->
|
||||
|
||||
<?php
|
||||
$this->print_template( 'modal-payment' );
|
||||
|
||||
if ( Imagify_Requirements::is_api_key_valid() ) {
|
||||
$display_infos = get_transient( 'imagify_bulk_optimization_infos' );
|
||||
|
||||
|
||||
@@ -104,27 +104,40 @@ $wrapper_class = isset( $notices[ $notice ] ) || isset( $plugins['wp-rocket/wp-r
|
||||
<div class="imagify-settings-main-content imagify-pb0<?php echo $hidden_class; ?>">
|
||||
<div class="imagify-settings-section imagify-clear">
|
||||
<div>
|
||||
<h2 class="imagify-options-title"><?php _e( 'Display Options', 'imagify' ); ?></h2>
|
||||
|
||||
<p class="imagify-options-subtitle"><?php _e( 'Show Toolbar Menu', 'imagify' ); ?></p>
|
||||
|
||||
<div class="imagify-col">
|
||||
<p>
|
||||
<h2 class="imagify-options-title"><?php _e( 'Our Plugins', 'imagify' ); ?></h2>
|
||||
<p class="imagify-options-subtitle"><?php _e( 'Build better, faster, safer', 'imagify' ); ?></p>
|
||||
<p class="">
|
||||
<?php
|
||||
$settings->field_checkbox( array(
|
||||
'option_name' => 'admin_bar_menu',
|
||||
'label' => __( 'I want this awesome quick access menu on my Toolbar.', 'imagify' ),
|
||||
) );
|
||||
_e( 'Beyond Imagify, there\'s a whole family of plugins designed to help you build better, faster, and safer websites. Each one is crafted with our unique blend of expertise, simplicity, and
|
||||
outstanding support. Combine our plugins below to build incredible WordPress websites!', 'imagify');
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="imagify-col">
|
||||
<p>
|
||||
<img class="imagify-menu-bar-img" src="<?php echo esc_url( IMAGIFY_ASSETS_IMG_URL . 'imagify-menu-bar-' . $lang . '.jpg' ); ?>" width="273" height="239" alt="">
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
</p>
|
||||
<?php foreach ( $data['plugin_family'] as $plugin => $plugin_data ) : ?>
|
||||
<div class="imagify-plugin-family-col">
|
||||
<div class="imagify-card">
|
||||
<div class="imagify-card-header">
|
||||
<div class="imagify-card-logo">
|
||||
<img src="<?php echo esc_url( IMAGIFY_ASSETS_IMG_URL . $plugin_data['logo']['file'] ); ?>" loading="lazy" style="width: <?php echo esc_attr( $plugin_data['logo']['width'] ); ?>">
|
||||
</div>
|
||||
<h4><?php echo esc_html( $plugin_data['title'] ); ?></h4>
|
||||
</div>
|
||||
<div class="imagify-card-body">
|
||||
<p>
|
||||
<?php echo esc_html( $plugin_data['desc'] ); ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="imagify-card-footer">
|
||||
<?php if ( '#' === $plugin_data['cta']['url'] ) : ?>
|
||||
<span><?php echo esc_html( $plugin_data['cta']['text'] ); ?></span><span class="dashicons dashicons-yes"></span>
|
||||
<?php else : ?>
|
||||
<a href="<?php echo esc_url( $plugin_data['cta']['url'] ); ?>" class="imagify-card-btn imagify-btn-cta" <?php echo 'Get it Now' === $plugin_data['cta']['text'] ? 'target="_blank"' : ''; ?> rel="noopener"><?php echo esc_html( $plugin_data['cta']['text'] ); ?></a>
|
||||
<a href="<?php echo esc_url( $plugin_data['link'] ); ?>" target="_blank" rel="noopener"><?php echo esc_html( 'Learn more' ); ?></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
endforeach;
|
||||
/**
|
||||
* List of partners affected by this option.
|
||||
* For internal use only.
|
||||
@@ -139,9 +152,8 @@ $wrapper_class = isset( $notices[ $notice ] ) || isset( $plugins['wp-rocket/wp-r
|
||||
|
||||
if ( $partners ) {
|
||||
?>
|
||||
<h2 class="imagify-options-title"><?php esc_html_e( 'Partners', 'imagify' ); ?></h2>
|
||||
<p class="imagify-options-subtitle" id="imagify-partners-label">
|
||||
<?php esc_html_e( 'Partners', 'imagify' ); ?>
|
||||
|
||||
<span class="imagify-info">
|
||||
<span class="dashicons dashicons-info"></span>
|
||||
<a href="#imagify-partners-info" class="imagify-modal-trigger"><?php _e( 'More info?', 'imagify' ); ?></a>
|
||||
@@ -177,7 +189,6 @@ $wrapper_class = isset( $notices[ $notice ] ) || isset( $plugins['wp-rocket/wp-r
|
||||
$this->print_template( 'modal-settings-infos' );
|
||||
$this->print_template( 'modal-settings-partners-infos' );
|
||||
$this->print_template( 'modal-settings-visual-comparison' );
|
||||
$this->print_template( 'modal-payment' );
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -26,12 +26,14 @@ if (
|
||||
<div class="imagify-col-content imagify-block-secondary imagify-mt2">
|
||||
<div class="best-plan<?php echo $api_key_valid ? '' : ' hidden'; ?>">
|
||||
<h3 class="imagify-user-best-plan-title">
|
||||
<?php esc_html_e( 'You\'re new to Imagify?', 'imagify' ); ?>
|
||||
<?php esc_html_e( 'Unlock Imagify\'s full potential', 'imagify' ); ?>
|
||||
</h3>
|
||||
<p><?php esc_html_e( 'Let us help you by analyzing your existing images and determine the best plan for you.', 'imagify' ); ?></p>
|
||||
<button id="imagify-get-pricing-modal" data-nonce="<?php echo wp_create_nonce( 'imagify_get_pricing_' . get_current_user_id() ); ?>" data-target="#imagify-pricing-modal" type="button" class="imagify-modal-trigger imagify-button imagify-button-light imagify-full-width">
|
||||
<i class="dashicons dashicons-dashboard" aria-hidden="true"></i>
|
||||
<span class="button-text"><?php esc_html_e( 'What plan do I need?', 'imagify' ); ?></span>
|
||||
<p><?php esc_html_e( 'Expand your image quota and eliminate upload limits.', 'imagify' ); ?></p>
|
||||
<button data-nonce="<?php echo wp_create_nonce( 'imagify_get_pricing_' . get_current_user_id() ); ?>" data-target="#imagify-pricing-modal" type="button" class="imagify-modal-trigger imagify-button imagify-button-light imagify-full-width imagify-upsell-cta imagify-get-pricing-modal">
|
||||
<span class="button-text"><?php esc_html_e( 'Upgrade Now', 'imagify' ); ?></span>
|
||||
<svg class="imagify-svg-icon" width="23px" height="23px">
|
||||
<use href="#imagify_arrow_long_right"></use>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div><!-- .imagify-col-content -->
|
||||
@@ -87,9 +89,21 @@ if (
|
||||
<p><?php echo $upgrade; ?></p>
|
||||
<p><?php echo $price; ?></p>
|
||||
|
||||
<a href="<?php echo esc_url( $upgrade_link ); ?>" target="_blank" rel="noopener noreferrer" class="imagify-upsell-button"><span class="imagify-upsell-arrow"><?php esc_html_e( 'Upgrade now', 'imagify' ); ?></span></a>
|
||||
<a href="<?php echo esc_url( get_imagify_admin_url( 'dismiss-notice', 'upsell-banner' ) ); ?>" class="imagify-notice-dismiss imagify-upsell-dismiss" title="<?php esc_attr_e( 'Dismiss this notice', 'imagify' ); ?>"><span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice', 'imagify' ); ?></span></a>
|
||||
<a href="<?php echo esc_url( $upgrade_link ); ?>" target="_blank" rel="noopener noreferrer" class="imagify-upsell-button imagify-full-width imagify-upsell-cta">
|
||||
<?php esc_html_e( 'Upgrade now', 'imagify' ); ?>
|
||||
<svg class="imagify-svg-icon" width="23px" height="23px">
|
||||
<use href="#imagify_arrow_long_right"></use>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="<?php echo esc_url( get_imagify_admin_url( 'dismiss-notice', 'upsell-banner' ) ); ?>" class="imagify-notice-dismiss notice-dismiss" title="<?php esc_attr_e( 'Dismiss this notice', 'imagify' ); ?>"><span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice', 'imagify' ); ?></span></a>
|
||||
</div><!-- .imagify-col-content -->
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<svg style="display: none;">
|
||||
<symbol id="imagify_arrow_long_right" viewBox="0 0 512.00 512.00">
|
||||
<path d="M313.941 216H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h301.941v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.569 0-33.941l-86.059-86.059c-15.119-15.119-40.971-4.411-40.971 16.971V216z" fill="currentColor"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user