| 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 |
| 64 |
|