PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.1.3
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.1.3
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / modules / beaver-builder / cartflows-bb-next-step / includes / frontend.php

frontend.php in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.1.3, at modules/beaver-builder/cartflows-bb-next-step/includes/frontend.php

56 lines 2.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Frontend view
4 *
5 * @package next-step-button
6 */
7
8 ?>
9 <div class="<?php echo esc_attr( $module->get_classname() ); ?>">
10
11 <?php
12 if ( isset( $settings->threed_button_options ) && ( 'animate_top' == $settings->threed_button_options || 'animate_bottom' == $settings->threed_button_options || 'animate_left' == $settings->threed_button_options || 'animate_right' == $settings->threed_button_options ) ) {
13 ?>
14 <p class="perspective">
15 <?php
16 }
17 ?>
18
19 <a href="?class=wcf-next-step" class="cartflows-bb__next-step-button cartflows-bb__next-step-button cartflows-bb__next-step-creative-button <?php echo esc_attr( 'cartflows-bb__next-step-creative-' . $settings->style . '-btn' ); ?> <?php echo esc_attr( $module->get_button_style() ); ?>" role="button" >
20 <?php
21 if ( ! empty( $settings->icon ) && ( 'before' == $settings->icon_position || ! isset( $settings->icon_position ) ) ) :
22
23 if ( 'flat' == $settings->style && isset( $settings->flat_button_options ) && ( 'animate_to_right' == $settings->flat_button_options || 'animate_to_left' == $settings->flat_button_options || 'animate_from_top' == $settings->flat_button_options || 'animate_from_bottom' == $settings->flat_button_options ) ) {
24 $add_class_to_icon = '';
25 } else {
26 $add_class_to_icon = 'cartflows-bb__next-step-creative-button-icon cartflows-bb__next-step-button-icon-before cartflows-bb__next-step-creative-button-icon-before';
27 }
28 ?>
29
30 <i class="<?php echo esc_attr( $add_class_to_icon ); ?> fa <?php echo esc_attr( $settings->icon ); ?>" aria-hidden="true"></i>
31
32 <?php endif; ?>
33 <?php if ( ! empty( $settings->text ) ) : ?>
34 <span class="cartflows-bb__next-step-button-text cartflows-bb__next-step-creative-button-text"><?php echo esc_html( $settings->text ); ?></span>
35 <?php endif; ?>
36 <?php
37 if ( ! empty( $settings->icon ) && 'after' == $settings->icon_position ) :
38 if ( 'flat' == $settings->style && isset( $settings->flat_button_options ) && ( 'animate_to_right' == $settings->flat_button_options || 'animate_to_left' == $settings->flat_button_options || 'animate_from_top' == $settings->flat_button_options || 'animate_from_bottom' == $settings->flat_button_options ) ) {
39 $add_class_to_icon = '';
40 } else {
41 $add_class_to_icon = 'cartflows-bb__next-step-button-icon-after cartflows-bb__next-step-creative-button-icon-after';
42 }
43 ?>
44 <i class="cartflows-bb__next-step-button-icon cartflows-bb__next-step-creative-button-icon <?php echo esc_attr( $add_class_to_icon ); ?> fa <?php echo esc_attr( $settings->icon ); ?>"></i>
45 <?php endif; ?>
46 </a>
47
48 <?php
49 if ( isset( $settings->threed_button_options ) && ( 'animate_top' == $settings->threed_button_options || 'animate_bottom' == $settings->threed_button_options || 'animate_left' == $settings->threed_button_options || 'animate_right' == $settings->threed_button_options ) ) {
50 ?>
51 </p>
52 <?php
53 }
54 ?>
55 </div>
56