PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.3.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.3.0
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
← All changes | modules/flow/templates/template-default.php +63 -49 1.1.2 → 3.3.0 View file →
@@ -1,49 +1,63 @@
1 -<?php
2 -/**
3 - * Template Name: No Header Footer
4 - *
5 - * @package CartFlows
6 - */
7 -
8 -?>
9 -
10 -<!DOCTYPE html>
11 -<html <?php language_attributes(); ?> class="no-js">
12 -<head>
13 - <meta charset="<?php bloginfo( 'charset' ); ?>">
14 - <meta name="viewport" content="width=device-width, initial-scale=1">
15 - <link rel="profile" href="http://gmpg.org/xfn/11">
16 - <?php wp_head(); ?>
17 -</head>
18 -
19 -<body <?php body_class(); ?>>
20 - <?php
21 -
22 - $atts_string = Cartflows_Helper::get_cartflows_container_atts();
23 -
24 - ?>
25 - <div class="cartflows-container" <?php echo trim( $atts_string ); ?>>
26 - <?php
27 - do_action( 'cartflows_container_top' );
28 - ?>
29 - <div class="cartflows-primary">
30 - <?php
31 - while ( have_posts() ) :
32 -
33 - the_post();
34 - the_content();
35 -
36 - endwhile;
37 - ?>
38 - </div>
39 - <?php
40 - do_action( 'cartflows_container_bottom' );
41 - ?>
42 - </div>
43 -<?php wp_footer(); ?>
44 -
45 -</body>
46 -
47 -</html>
48 -
49 -<?php
1 +<?php
2 +/**
3 + * Template Name: No Header Footer
4 + *
5 + * @package CartFlows
6 + */
7 +
8 +// Exit if accessed directly.
9 +if ( ! defined( 'ABSPATH' ) ) {
10 + exit;
11 +}
12 +?>
13 +
14 +<!DOCTYPE html>
15 +<html <?php language_attributes(); ?> class="no-js">
16 +<head>
17 + <meta charset="<?php bloginfo( 'charset' ); ?>">
18 + <meta name="viewport" content="width=device-width, initial-scale=1">
19 + <link rel="profile" href="http://gmpg.org/xfn/11">
20 + <?php wp_head(); ?>
21 +</head>
22 +
23 +<body <?php body_class(); ?>>
24 +
25 + <?php
26 + wp_body_open();
27 +
28 + do_action( 'cartflows_body_top' );
29 + ?>
30 +
31 + <?php
32 +
33 + $atts_string = Cartflows_Helper::get_cartflows_container_atts();
34 +
35 + ?>
36 + <?php // HTML attributes are already sanitized individually. ?>
37 + <div class="cartflows-container" <?php echo trim( $atts_string ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
38 + <?php
39 + do_action( 'cartflows_container_top' );
40 + ?>
41 + <div class="cartflows-primary">
42 + <?php
43 + while ( have_posts() ) :
44 +
45 + the_post();
46 + the_content();
47 +
48 + endwhile;
49 + ?>
50 + </div>
51 + <?php
52 + do_action( 'cartflows_container_bottom' );
53 + ?>
54 + </div>
55 +
56 + <?php do_action( 'cartflows_wp_footer' ); ?>
57 +
58 + <?php wp_footer(); ?>
59 +</body>
60 +
61 +</html>
62 +
63 +<?php