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-canvas.php +58 -45 1.1.1 → 3.3.0 View file →
@@ -1,45 +1,58 @@
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 -
21 - <?php
22 -
23 - $atts_string = Cartflows_Helper::get_cartflows_container_atts();
24 -
25 - ?>
26 - <div class="cartflows-container" <?php echo trim( $atts_string ); ?>>
27 -
28 - <?php
29 - do_action( 'cartflows_container_top' );
30 - while ( have_posts() ) :
31 -
32 - the_post();
33 - the_content();
34 -
35 - endwhile;
36 - do_action( 'cartflows_container_bottom' );
37 - ?>
38 - </div>
39 -<?php wp_footer(); ?>
40 -
41 -</body>
42 -
43 -</html>
44 -
45 -<?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 +
39 + <?php
40 + do_action( 'cartflows_container_top' );
41 + while ( have_posts() ) :
42 +
43 + the_post();
44 + the_content();
45 +
46 + endwhile;
47 + do_action( 'cartflows_container_bottom' );
48 + ?>
49 + </div>
50 +
51 + <?php do_action( 'cartflows_wp_footer' ); ?>
52 +
53 + <?php wp_footer(); ?>
54 +</body>
55 +
56 +</html>
57 +
58 +<?php